fix(deps): update rust crate wasmtime to v42#130
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
7740db0 to
745a3a0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
40.0.0→42.0.0Release Notes
bytecodealliance/wasmtime (wasmtime)
v42.0.1Compare Source
42.0.1
Released 2026-02-25.
Fixed
bindgen!issues withanyhow: true#12658
v42.0.0Compare Source
42.0.0
Released 2026-02-20.
Added
Cranelift now supports bitwise operations on floats on aarch64.
#12326
Cranelift now supports NaN canonicalization of f16 and f128.
#12337
Wasmtime has gained minimal support to implement fixed-length lists in the
component model being communicated between composed components.
#10619
Wasmtime's
ErrorandResulttypes are now built-in to thewasmtimecrateand are no longer defined by the
anyhowcrate. Wasmtime exports amostly-compatible
anyhow-like API atwasmtime::errorwhich is usedinstead. Wasmtime's own
Errorhandles OOM internally and is foundationalpart of Wasmtime's work-in-progress support to gracefully handle OOM.
#12309
Wasmtime now exports an extension trait to convert
anyhow::Result<T>intowasmtime::Result<T>.#12255
Wasmtime supports a new
bindgen!option to generate bindings specificallywith
anyhow::Resultinstead ofwasmtime::Result.#12331
The Nvidia-Cuda execution provider is now supported for the wasi-nn onnx
backend.
#12044
Non-exported and private entities can now be accessed through the debugger
API.
#12367
A new
Store::try_newAPI has been added which handles OOM.#12415
Initial configuration knobs for record-and-replay support have been added.
#12375
Cranelift's s390x backend now has support for instructions added in z17.
#12319
Wasmtime's implementation of fibers can now be compiled on riscv32imac
platforms.
#12506
Wasmtime's implementation of WASI now correctly limits resource consumption on
behalf of the guest, such as host-allocated memory, by default. This means
that some behaviors previously allowed by Wasmtime are now disallowed by
default if they rely on transferring a large amount of data from the guest to
the host. Additionally calls to
wasi:random/random.get-random-bytes, forexample, now have limits in place by default to avoid allocating too much
memory on the host. For more information on this see the related security
advisory with further details on knobs added and what behaviors are now
restricted by default.
GHSA-852m-cvvp-9p4w
Changed
Reentrance rules for WebAssembly components have changed in accordance with
upstream specification changes. Embeddings are not expected to be affected,
but please reach out if you find problems.
#12349
Wasmtime's
Config::async_supportoption is now removed and no longernecessary. Embeddings can likely just remove turning this on and everything
should keep working like normal.
#12371
Wasmtime now supports
Config::concurrency_supportas a knob to enable ordisable
*_concurrentAPIs at runtime when thecomponent-model-asynccratefeature is enabled.
#12416
The
post_return-style functions in Wasmtime's API are now noops and will beremoved in the future.
#12498
Translation of
global.getof a defined, immutable global is now turned intoa CLIF constant.
#12234
The
wasmtime-wasi-nncrate's dependency onorthas been updated.#12162
Error bounds requiring using
hyper::Errorinwasmtime-wasi-httphave beenrelaxed to taking
E: Into<ErrorCode>instead.#12227
The
cranelift-assembler-x64, andcranelift-islecrates now supportsno_std targets. The
cranelift-codegencrate now mostly supports no_std,but not entirely.
#12222
#12235
#12236
Android release binaries are now compiled with a larger page size configured.
#12246
Implicit binds are now allowed for WASIp3 sockets.
#12225
Wasmtime's implementation of component-model-async now correctly checks for
whether tasks are allowed to block in all guest-to-guest situations.
#12282
The
wasmtime-wasi-tlscrate now has an OpenSSL backend.#12228
Wasmtime's
OutOfMemoryerror now keeps track of the attempted allocationsize that failed.
#12351
Wasmtime's
*_uncheckedfunctions now work withMaybeUninit<ValRaw>insteadof
ValRawdirectly.#12366
Wasmtime now requires Rust 1.91.0 to compile.
#12392
Wasmtime's management of component-model-async tasks is now consistently done
in all boundaries between guest/host tasks.
#12379
Fixed
The
HeapType::matchesimplementation forNoExnhas been fixed.#12350
Enum discriminant validation for composed components has been fixed.
#12356
Shifts in some situations on aarch64 with Winch have been fixed.
#12501
Debug value locations around cold blocks have been improved.
#12484
Panics when adding too many headers to a
wasi:http/types.fieldshas beenresolved
GHSA-243v-98vx-264h
v41.0.4Compare Source
41.0.4
Released 2026-02-24.
Changed
consumption on behalf of the guest, such as host-allocated memory. This means
that some behaviors previously allowed by Wasmtime can now disallowed, such as
transferring excessive data from the guest to the host. Additionally calls to
wasi:random/random.get-random-bytes, for example, can have limits in placeto avoid allocating too much memory on the host. To preserve
backwards-compatible behavior these limits are NOT set by default. Embedders
must opt-in to configuring these knobs as appropriate for their embeddings.
For more information on this see the related security advisory with further
details on knobs added and what behaviors can be restricted.
GHSA-852m-cvvp-9p4w
Fixed
Panics when adding too many headers to a
wasi:http/types.fieldshas beenresolved
GHSA-243v-98vx-264h
Panic when dropping a
[Typed]Func::call_asyncfuture.GHSA-xjhv-v822-pf94
v41.0.3Compare Source
41.0.3
Released 2026-02-04.
Fixed
due to mismatched types.
#12504
v41.0.2Compare Source
41.0.2
Released 2026-02-03.
Fixed
wasmtime-internal-jit-icache-coherencecrate.#12446
v41.0.1Compare Source
41.0.1
Released 2026-01-26.
Fixed
f64.copysignon x86-64 whereby when combinedwith an
f64.load, the resulting machine code could read 16 bytes ratherthan 8 bytes. This could result in a segfault when Wasmtime is configured
without signals-based traps.
v41.0.0Compare Source
41.0.0
Released 2026-01-20.
Added
Support for
{Future,Stream}Anyin the component model has improved.#12142
Wasmtime has initial support for breakpoints and single-stepping with the
debugfeature for guest programs.#12133
Wasmtime has begun adding a new
Errortype which is similar toanyhow::Errorbut supports gracefully handling OOM. Wasmtime still usesanyhow::Errorbut this will change in the future towasmtime::Errorwhichwill be a distinct type.
#12163
An initial top-level crate for async-debugging guest programs has been added.
#12183
Changed
Cranelift now optimizes redundant
select+icmpinstructions.#12135
Synchronous component model functions can no longer block before returning.
This implements a change in the upstream specification to the upcoming
asyncsupport in the component model which places stricter restrictions on
non-
asyncfunctions and their ability to perform blocking operations.#12043
Frame iteration in
debugmode now visits all activations which enablesseeing all frames from recursive wasm calls.
#12176
Wasmtime now requires Rust 1.90.0 or later.
#12167
Intra-component stream/future reads/writes are now allowed for simple data
types.
#12181
The
POLLcallback code has been removed from the canonical ABI for asyncfunctions and the
waitable-set.pollfunction no longer yields.#12182
Guest-to-guest adapters injected by Wasmtime now have improved trapping error
messages.
#12215
Fixed
#[derive(Lift)]for enums with exactly 256 cases has been fixed.#12140
With component-model-async support recursively calling a guest from a host
function has now been fixed.
#12152
v40.0.4Compare Source
40.0.4
Released 2026-02-24.
Changed
consumption on behalf of the guest, such as host-allocated memory. This means
that some behaviors previously allowed by Wasmtime can now disallowed, such as
transferring excessive data from the guest to the host. Additionally calls to
wasi:random/random.get-random-bytes, for example, can have limits in placeto avoid allocating too much memory on the host. To preserve
backwards-compatible behavior these limits are NOT set by default. Embedders
must opt-in to configuring these knobs as appropriate for their embeddings.
For more information on this see the related security advisory with further
details on knobs added and what behaviors can be restricted.
GHSA-852m-cvvp-9p4w
Fixed
Panics when adding too many headers to a
wasi:http/types.fieldshas beenresolved
GHSA-243v-98vx-264h
Panic when dropping a
[Typed]Func::call_asyncfuture.GHSA-xjhv-v822-pf94
v40.0.3Compare Source
40.0.3
Released 2026-01-26.
Fixed
f64.copysignon x86-64 whereby when combinedwith an
f64.load, the resulting machine code could read 16 bytes ratherthan 8 bytes. This could result in a segfault when Wasmtime is configured
without signals-based traps.
v40.0.2Compare Source
40.0.2
Released 2026-01-14.
Fixed
A possible stack overflow in the x64 backend with
cmpemission has beenfixed.
#12333
Some ISLE optimization rules which created erroneous IR for vector inputs have
been fixed.
#12179
#12335
The x64 lowering of
shldhas been fixed for some edge caxes.#12321
v40.0.1Compare Source
40.0.1
Released 2026-01-07.
Changed
Wasmtime is switching to crates.io-based trusted publishing for this release
and is testing that everything works.
#12257
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.