fix(jit): should not be unreachable

This commit is contained in:
2025-05-23 19:16:49 +08:00
parent a47a08b051
commit 5291e49313
2 changed files with 2 additions and 3 deletions

View File

@@ -17,7 +17,6 @@ inherits = "release"
[profile.release] [profile.release]
lto = true lto = true
codegen-units = 1
strip = true strip = true
[dependencies] [dependencies]

View File

@@ -226,7 +226,7 @@ extern "C" fn helper_neg(rhs: JITValue, _env: *const VmEnv) -> JITValue {
float: -unsafe { rhs.data.float }, float: -unsafe { rhs.data.float },
}, },
}, },
_ => unreachable!(), _ => todo!(),
} }
} }
@@ -239,7 +239,7 @@ extern "C" fn helper_not(rhs: JITValue, _env: *const VmEnv) -> JITValue {
bool: !unsafe { rhs.data.bool }, bool: !unsafe { rhs.data.bool },
}, },
}, },
_ => unreachable!(), _ => todo!(),
} }
} }