bjorn3 opened PR #12239 from bjorn3:cranelift_jit_fixes to bytecodealliance:main:
Together with an incorrect assertion, the lack of this caused jumps to random memory locations if the target is too far away.
Fixes https://github.com/rust-lang/rustc_codegen_cranelift/issues/1619
bjorn3 requested wasmtime-compiler-reviewers for a review on PR #12239.
bjorn3 requested fitzgen for a review on PR #12239.
bjorn3 updated PR #12239.
bjorn3 updated PR #12239.
bjorn3 updated PR #12239.
fitzgen created PR review comment:
Maybe something like
const _ASSERT_JIT_MODULE_IS_SEND: () = { ... };to help readers understand what is going on at a glance?
fitzgen submitted PR review:
LGTM! Just one tiny suggestion below.
bjorn3 updated PR #12239.
Last updated: Jan 09 2026 at 13:15 UTC