Skip to content

cranelift-jit: re-export JITMemoryKind#13632

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
Berektassuly:cranelift-jit-reexport-jitmemorykind
Jun 13, 2026
Merged

cranelift-jit: re-export JITMemoryKind#13632
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
Berektassuly:cranelift-jit-reexport-jitmemorykind

Conversation

@Berektassuly

Copy link
Copy Markdown
Contributor

Fixes #13200.

JITMemoryProvider::allocate takes a JITMemoryKind, but downstream crates
could not name that type because it was only available through the private
memory module.

This re-exports JITMemoryKind from the cranelift_jit crate root alongside
JITMemoryProvider and adds rustdoc for the public enum.

Tested with cargo check -p cranelift-jit, cargo test -p cranelift-jit, and
cargo doc -p cranelift-jit --no-deps.

@Berektassuly Berektassuly requested a review from a team as a code owner June 13, 2026 09:07
@Berektassuly Berektassuly requested review from alexcrichton and removed request for a team June 13, 2026 09:07
@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label Jun 13, 2026
@alexcrichton alexcrichton added this pull request to the merge queue Jun 13, 2026
Merged via the queue into bytecodealliance:main with commit 61ba992 Jun 13, 2026
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

2 participants