Skip to content

Comments

[41.0.0] Directly use anyhow rather than wasmtime-environ in wasmtime-jit-icache-coherence#12446

Merged
alexcrichton merged 1 commit intobytecodealliance:release-41.0.0from
bjorn3:cranelift_jit_less_deps_41.0.0
Jan 28, 2026
Merged

[41.0.0] Directly use anyhow rather than wasmtime-environ in wasmtime-jit-icache-coherence#12446
alexcrichton merged 1 commit intobytecodealliance:release-41.0.0from
bjorn3:cranelift_jit_less_deps_41.0.0

Conversation

@bjorn3
Copy link
Contributor

@bjorn3 bjorn3 commented Jan 27, 2026

Backport of #12444 to 41.0.0 adapted for the wasmtime-core crate not yet being introduced. This should be backwards compatible as wasmtime_environ::error::Result is a re-export of anyhow::Result in 41.0.0.

@bjorn3 bjorn3 requested review from a team as code owners January 27, 2026 16:10
@bjorn3 bjorn3 requested review from alexcrichton and removed request for a team January 27, 2026 16:10
@bjorn3 bjorn3 force-pushed the cranelift_jit_less_deps_41.0.0 branch from de9b0c3 to 7c9e688 Compare January 27, 2026 16:15
@bjorn3 bjorn3 changed the title [41.0.0] Use wasmtime-core rather than wasmtime-environ in wasmtime-jit-icache-coherence [41.0.0] Use wasmtime-error rather than wasmtime-environ in wasmtime-jit-icache-coherence Jan 27, 2026
@bjorn3 bjorn3 force-pushed the cranelift_jit_less_deps_41.0.0 branch 2 times, most recently from dd7f5b4 to c87cd18 Compare January 27, 2026 16:22
@bjorn3 bjorn3 changed the title [41.0.0] Use wasmtime-error rather than wasmtime-environ in wasmtime-jit-icache-coherence [41.0.0] Directly use anyhow rather than wasmtime-environ in wasmtime-jit-icache-coherence Jan 27, 2026
…he-coherence

This avoids unnecessarily pulling in a lot of wasmtime dependencies for
cranelift-jit. wasmtime_environ::error is currently a re-export of anyhow.
@bjorn3 bjorn3 force-pushed the cranelift_jit_less_deps_41.0.0 branch from c87cd18 to d599b19 Compare January 27, 2026 16:25
Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

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

I'm traveling this week but if no one beats me to it I can do a point release with this next week

@alexcrichton alexcrichton merged commit 2ca28e6 into bytecodealliance:release-41.0.0 Jan 28, 2026
174 checks passed
@bjorn3 bjorn3 deleted the cranelift_jit_less_deps_41.0.0 branch January 28, 2026 20:41
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.

2 participants