Skip to content

deps(cranelift): bump to 0.138 - #7109

Closed
marxin wants to merge 9 commits into
mainfrom
bump-cranelift-0.137
Closed

marxin wants to merge 9 commits into
mainfrom
bump-cranelift-0.137

Conversation

@marxin

@marxin marxin commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Depends on: bytecodealliance/wasmtime#14882

Will be fixed in the next Wasmtime release (51).

Copilot AI balanced review requested due to automatic review settings October 20, 2026 08:04
@marxin marxin changed the title Bump cranelift 0.137 deps(cranelift): bump to 0.137 Oct 20, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

External dependency paths prevent clean builds, and default source locations produce incorrect debug mappings.

2 open issues
What changed in this PR

Updates Wasmer’s Cranelift integration for newer upstream APIs, including the unwind accessor requested in wasmtime#14882.

Changes:

  • Switches Cranelift dependencies to a local Wasmtime checkout.
  • Adapts exception metadata, relocations, unwind access, and source locations.
File Description
lib/​compiler-cranelift/​src/​eh.rs Adapts exception-handler metadata APIs.
lib/​compiler-cranelift/​src/​compiler.rs Updates relocation types and unwind access.
lib/​compiler-cranelift/​src/​address_map.rs Converts the new source-location representation.
Cargo.toml Replaces registry dependencies with local paths.
Cargo.lock Records Cranelift and Wasmtime development dependencies.

Review effort: Balanced

Comment thread Cargo.toml Resolved
@marxin
marxin force-pushed the bump-cranelift-0.137 branch from 64e36ef to 3600180 Compare November 3, 2026 15:33
@marxin marxin changed the title deps(cranelift): bump to 0.137 deps(cranelift): bump to 0.138 Nov 5, 2026
@marxin
marxin marked this pull request as ready for review November 5, 2026 07:45
@marxin
marxin force-pushed the bump-cranelift-0.137 branch from efc252e to 9fe1e53 Compare November 6, 2026 12:53
@marxin
marxin force-pushed the bump-cranelift-0.137 branch from f500ef7 to 13d8017 Compare November 6, 2026 13:07
@marxin

marxin commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator Author

Will be done in the wasmer-runtime repository instead.

@marxin marxin closed this Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants