chinhkrb113 opened PR #13517 from chinhkrb113:improve/quality/re-export-jitmemorykind-from-the-crate-r to bytecodealliance:main:
Summary
Making
JITMemoryKindpublic inmemory.rsis not sufficient if it is not re-exported from the crate root alongsideJITMemoryProviderand the other memory-related public items. Downstream users import these symbols fromcranelift_jit::..., so the type needs to be reachable through the same path used forJITMemoryProviderFixes #13200
Changes
cranelift/jit/src/lib.rsWhy
cranelift/jit/src/lib.rs: MakingJITMemoryKindpublic inmemory.rsis not sufficient if it is not re-exported from the crate root alongsideJITMemoryProviderand the other memory-related public items. Downstream users import these symbols fromcranelift_jit::..., so the type needs to be reachable through the same path used forJITMemoryProvider.
chinhkrb113 requested wasmtime-compiler-reviewers for a review on PR #13517.
chinhkrb113 requested fitzgen for a review on PR #13517.
github-actions[bot] added the label cranelift on PR #13517.
Last updated: Jun 01 2026 at 09:49 UTC