Skip to content

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
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.

1 participant