Skip to content

Re-land Always use mmap in cranelift-jit #13186

Merged
fitzgen merged 1 commit intobytecodealliance:mainfrom
alexcrichton:reland
Apr 24, 2026
Merged

Re-land Always use mmap in cranelift-jit #13186
fitzgen merged 1 commit intobytecodealliance:mainfrom
alexcrichton:reland

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

GitHub merge queues ate #13180 yesterday. Re-land it.

@alexcrichton alexcrichton requested review from a team as code owners April 24, 2026 14:01
@alexcrichton alexcrichton requested review from fitzgen and uweigand and removed request for a team April 24, 2026 14:01
* Always use mmap in cranelift-jit

This was previously not done with the theory that using the regular heap
allocator could be faster. We now have an arena memory provider and
using mmap is necessary anyway when SELinux is enabled. I don't think
the benefits outweight the code complexity cost.

* Use memmap2 on Windows too in cranelift-jit
@fitzgen fitzgen added this pull request to the merge queue Apr 24, 2026
Merged via the queue into bytecodealliance:main with commit 8f57b28 Apr 24, 2026
48 checks passed
@alexcrichton alexcrichton deleted the reland branch April 24, 2026 15:15
kendricklawton pushed a commit to kendricklawton/wasmtime that referenced this pull request Apr 24, 2026
* wizer: move the special regex-test crate to be in test-prrograms

this eliminates the test calling out to `cargo build` directly, instead
it uses a dep on `test-programs-artifacts`

* wizer regex test also works as a component

* link FIXME to bytecodealliance#13186

* inline wit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants