This repository was archived by the owner on Jan 19, 2026. It is now read-only.
build(deps): update wasmtime to v40 (major) #792
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
39.0→40.039.0→40.039.0→40.0Release Notes
bytecodealliance/wasmtime (wasi-common)
v40.0.0Compare Source
40.0.0
Released 2025-12-20.
Added
WASIp3 support for
wasi:httpnow implementsResponse::from_httpto convertfrom standard Rust types to WASI types.
#12063
Cranelift now supports a "patchable" ABI which has a maximum number of
arguments and clobbers no registers. This is paired as well with a new
patchable_callinstruction which supports being turned into NOPs at runtime.#12061
#12101
Changed
Support for the WebAssembly
threadsproposal is now classified as tier 2 bydefault. Additionally creation of
SharedMemoryis disabled by deafult behinda new config knob/CLI flag.
#12036
A variety of peephole-style optimizations have been added to Cranelift's
optimization passes.
#11994
#11995
#11996
#11997
#11998
#11999
#12000
#12006
#12008
Component host functions have been slightly optimized to remove an
Arccloneand reduce contention.
#11987
Support for component-model-async has been updated to account for the
changes specified in WebAssembly/component-model#578.
This means that historical binaries using WASIp3, for example, are no longer
valid. Recompilation of historical components will be required and
source-level changes may also be required in some circumstances.
#12031
#12043
The
UnsyncBoxBodytype is now used everywhere in wasmtime-wasi-http insteadof just in the wasip3 support.
#12060
Initial groundwork for gracefully handling OOM (e.g. returning an error
instead of aborting) has been added.
#12070
#12089
Wasmtime will create a private copy of code memory when guest debugging is
enabled to assist with modifying code when adding/removing breakpoints.
#12051
The
ResourceTabletype will no longer useTombstonewhen compiled in debugmode.
#12114
Intra-component future/stream reads/writes will now trap instead of
accidentally being allowed.
#12117
Cranelift optimization rules have been tweaked after it was discovered that
they could pessimize code containing long chains of computations.
#12116
Fixed
Compilation of
i8x16.popcnthas been fixed in Winch for some potentialinputs.
#12010
A panic in
Instance::prepare_callfor some component-model-async situationshas been fixed.
#12054
An off-by-one error for lifting/lowering enums/variants with 255 cases has
been fixed.
#12066
Restarting the read of a host future after cancellation has been fixed.
#12093
Compilation for OpenBSD on x86_64 has been fixed.
#12097
Components containing a module type which exoprts a
tagare now supported.#12125
Configuration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.