NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2698 most downloaded on crates.io
Utilities for JIT icache maintenance
Latest stable
34.0.2
Last release 3 months ago
20 Aug 2026
Release timing varies
gaps range from 9 days to 4 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
98 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Fix a panic in the host caused by preview1 guests using fd_renumber. CVE-2025-53901.
Released 2025-07-18.
Fix a panic in the host caused by preview1 guests using fd_renumber.
CVE-2025-53901.
Fix a panic in the preview1 adapter caused by guests using fd_renumber.
#11277
Released 2025-06-24.
Fix a panic with host-defined tables/globals and concrete reference types. #11103
Released 2025-06-24.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Support for SIMD in the Pulley interpreter can now be disabled at compile-time to shrink the size of the final binary. #10727
Released 2025-06-20.
Support for SIMD in the Pulley interpreter can now be disabled at compile-time to shrink the size of the final binary. #10727
The C API now has wasmtime_trap_new_code to create a wasm_trap_t from
its code.
#10765
Winch's support for x86_64 is now classified with tier 1 support in Wasmtime. #10755
Winch's support for aarch64 now implements stack checks to pass many more spec tests. #10763
Cranelift's s390x backend now has full support for the f128 type.
#10774
Wasmtime's C API for the component model has initial support for calling functions. #10697 #10841 #10858 #10864 #10877
The wasmtime wast command now has a --generate-dwarf flag to show
filename/line number information for backtraces.
#10780
The shape of bindgen!-generated add_to_linker functions has changed with
the removal of GetHost and replacement of a HasData trait. For more
information see the associated PR.
#10770
Wasmtime's Store<T> now requires that T: 'static. This is done in
preparation for merging WASIp3 work to the main repository with some more
information on the associated PR.
#10760
The wasmtime::component::Instance::instance_pre method is now public.
#10761
Wasmtime and Cranelift's minimnum supported version of Rust (MSRV) is now 1.85.0. #10785
Cranelift's debugtrap on aarch64 now generates brk #0xf000 for debuggers
to recognize it.
#10813
The wasi-http implementation no longer generates a trap if the handle to receive the response on the host is dropped early. #10833
The wasmtime serve command will now send some boilerplate descriptive HTML
on a 500 server error instead of nothing.
#10851
A significant amount of work has gone into the new assembler for the x64 backend. Too many PRs to list here but progress continues apace at defining all machine instructions in a standalone crate.
Cranelift will now reject unimplemented big-endian loads/stores on backends that do not implement this functionality. #10863
The wasmtime explore generated HTML handles large modules better now.
#10892
Wasmtime's internal representation of wasmtime::Func has changed and a
previous optimization of Func::call has been lost. If affected it'd
recommended to use Func::call_unchecked instead or to open an issue.
#10897
Fix a panic in the host caused by preview1 guests using fd_renumber. CVE-2025-53901.
Released 2025-07-18.
Fix a panic in the host caused by preview1 guests using fd_renumber.
CVE-2025-53901.
Fix a panic in the preview1 adapter caused by guests using fd_renumber.
#11277
Released 2025-06-24.
Fix a panic with host-defined tables/globals and concrete reference types. #11103
Released 2025-06-24.
Cranelift now has initial support for try_call and try_call_indirect instructions, to be used in the future for the WebAssembly exception-handling pro
Released 2025-05-20.
Cranelift now has initial support for try_call and try_call_indirect
instructions, to be used in the future for the WebAssembly exception-handling
proposal. Wasmtime does not yet implement this proposal yet.
#10510
#10557
#10593
Cranelift can now optimize some simple possibly-side-effectful instructions, such as division. #10524
Wasmtime now supports --invoke for components using the WAVE format.
#10054
Initial support for the Component Model has landed in Wasmtime's C API. Note that the API is not yet feature-complete, however. #10566 #10598 #10651 #10675
Wasmtime's C++ API is now available from this repository and the
bytecodealliance/wasmtime-cpp repository has been archived. Additionally the
monolithic wasmtime.hh header file has been split into separate header
files.
#10582
#10600
Wasmtime's cookbook-style documentation has been expanded. #10630
Wasmtime's now supports custom yield behavior when using epoch interrupts. #10671
Wasmtime's bindgen now type-checks export functions in the constructor of
the generated {Worldname}Pre or {Worldname} structs, rather than at the
call of the export function.
#10610
Wasmtime's component::Component and component::Instance now have consistient
get_export and get_export_index methods, which return (ComponentItem, ComponentExportIndex) and ComponentExportIndex, respectively.
#10597
On failure, wasmtime serve gives an internal server error response, rather
than closing the connection.
#10645
Cranelift's single-pass allocator has been disabled due to being unable to support internal refactorings in preparation for the WebAssembly exceptions proposal. Re-enabling this allocator is tracked at regalloc2#217 for those interested. #10554
Wasmtime's {Array,Extern,Struct}Ref functions will now automatically trigger
a GC.
#10560
Wasmtime's GC heaps now use the same translation techniques as linear memories meaning they have far fewer bounds-checks than before. #10503
Wasmtime's implementation of WASIp2 has moved to wasmtime_wasi::p2 from the
root of the crate.
#10073
Wasmtime will no longer emit calls to Cranelift-defined "libcalls" and instead everything goes through Wasmtime's libcall mechanism instead, paving the way for a future change for more efficient stack limit checking in wasm. This can also improve deserialize-from-disk times and improve page cache usage for modules that use libcalls as relocations are no longer necessary. #10657
Configuration of caching can now be done through an API instead of exclusively
through a configuration file. Additionally cache-related APIs in Config have
changed.
#10665
Resources in the Component Model are now stored in a single table per-instance instead of per-type tables. Guests will see a different pattern of index allocation but this is not expected to cause any issues at runtime. #10701
Some math intrinsics have been fixed when compiled by Rust 1.87+. #10534
Component model libcalls correctly handle platform-specific argument extension in ABIs. #10540
An off-by-one issue with DWARF debuginfo has been fixed. #10570
The Config::target method is no longer gated by a #[cfg] for an enabled
compiler, it can be used when only the runtime feature is available.
#10618
An issue with "simulated" DWARF has been fixed. #10681
C/C++ headers are now tested that they can be included in isolation, and a number of issues have been fixed. #10694
Fix a panic with host-defined tables/globals and concrete reference types. #11103
Released 2025-06-24.
{Module,Component}::deserialize_raw can now be used to deserialize an in-memory module while relying on external management of the memory. #10321
Released 2025-04-21.
{Module,Component}::deserialize_raw can now be used to deserialize an
in-memory module while relying on external management of the memory.
#10321
An initial implementation of wasi-tls has been added. #10249
The wasmtime CLI now supports hexadecimal integer CLI arguments.
#10360
Cranelift now supports a log2_min_function_alignment flag.
#10391
A new wasmtime objdump subcommand has been added to help explore and debug
*.cwasm files.
#10405
Support for the pooling allocator has been added to the C API. #10484
Support for the guest profiler with the component model has been added. #10507
Cranelift MemFlags now has a can_move flag which restricts whether a load
or store can be moved.
#10340
The .text size of Pulley *.cwasm files should be smaller with less
padding.
#10285
The wasmtime serve subcommand now implements a graceful shutdown on ctrl-c.
#10394
Stack maps used for GC are now stored in a serialized binary format that is faster to deserialize. #10404
The aegraph implementation in Cranelift has been simplified to remove the union-find and canonical eclass IDs. #10471
The store_list and load_list helpers have been specialized in components
for f32 and f64.
#9892
Cranelift now removes block params on critical-edge blocks. #10485
The Linker::define_unknown_imports_as_default_values API now supports
defining defaults for more kinds of items.
#10500
Wasmtime now requires Rust 1.84.0 to compile. #10520
Winch compilation of extadd instructions has been fixed. #10337
Fix an issue with DRC collector's barriers. #10371
Loads on (ref null none) that can trap are now performed.
#10372
Fix reference count management in AnyRef::from_raw.
#10374
An issue with multi-value returns in Winch has been fixed. #10370
A panic at compile-time from an overflowing shift has been fixed when targeting aarch64. #10382
The wasmtime serve command no longer panics when handle returns before
calling set.
#10387
Winch compilation of replace_lane instructions with floats has been fixed.
#10393
An invalid integer-shift optimization on vector types has been removed. #10413
The DWARF loclist to exprloc optimization has been fixed. #10400
Objects in the DRC collector are now transitively dec-ref's when collected. #10401
A bug with GC rec gropus and registration in an Engine has been fixed.
#10435
A bug related to GC arrays of GC refs misreported their count of GC edges has been fixed. #10453
A bug related to appropriately adding stack maps for all GC variables has been fixed. #10456 #10468
A bug with array.fill has been fixed.
#10470
GC structs are no longer reordered to optimize their size to fix subtyping. #10463
Panics related to exceptions and components being mixed has been fixed. #10473
Winch stack parameter alignment has been fixed. #10513
Rendering inline function frames in a trap backtrace has been fixed. #10523
Winch's implementation of the SIMD proposal for WebAssembly is now feature-complete (but still being fuzzed). #10180 #10170 #10203 #10202 #10210 #1021
Released 2025-03-20.
Winch's implementation of the SIMD proposal for WebAssembly is now feature-complete (but still being fuzzed). #10180 #10170 #10203 #10202 #10210 #10213 #10224 #10205 #10226 #10228 #10236 #10241 #10243 #10247 #10271 #10284 #10288 #10296
The pytorch implementation in wasmtime-wasi-nn now has GPU support. #10204
Cranelift now supports emitting the AArch64 extr instruction.
#10229
Cranelift now supports emitting the x64 shld instruction.
#10233
Initial support for the stack-switching proposal has started to land, but it is not complete just yet. #10251 #10265 #10255
Pulley's implementation of loads/stores to linear memory has changed to better support optimizations and reduction of interpreter opcodes in the final binary. #10154
Cranelift's verifier now ensures that integers used as address types have the correct width. #10209
Wasmtime and Cranelift's minimum supported version of Rust is now 1.83.0. #10264
Wasmtime now mentions the filename when the input cannot be opened on the CLI. #10292
All types are now generated in component::bindgen!, even if they're not
reachable.
#10311
Tables allocated with the system allocator now use alloc_zeroed (aka
calloc) for allocation.
#10313
GC: the is-null-or-i31ref checks have been fixed. #10221
GC: an incorrect assertion and canonicalized types for runtime usage has been fixed. #10223
GC: subtype checks for imported globals during instantiation have been fixed. #10304
GC: exposing references to wasm in the gc_alloc_raw libcall has been fixed.
#10322
Winch's fuel checks correctly sync fuel before the check now. #10231
Winch's treatment of stores and other trapping ops has been fixed on AArch64. #10201
Winch's handling of the shadow stack pointer has been fixed on AArch64. #10263
Winch's handling of address calculations has been fixed on AArch64. #10297
Winch's handling of multivalue return of constants has ben fixed. #10315
MinGW C API builds are now built with a newer version of GCC which seems to fix an issue caused by #9929. #10290
Fixes an issue building the cranelift-assembler-x64 crate on Windows when the Rust toolchain is on a different drive than the project using wasmtime.
Released 2025-02-21.
cranelift-assembler-x64 crate on Windows
when the Rust toolchain is on a different drive than the project using
wasmtime. For more details, see the Zulip discussion. #10270New wasmtime-wasi-io crate provides a #![no_std] wasi:io implementation, factored out of wasmtime-wasi. Users of wasmtime-wasi don't have to depend on
Released 2025-02-20.
New wasmtime-wasi-io crate provides a #![no_std] wasi:io implementation,
factored out of wasmtime-wasi. Users of wasmtime-wasi don't have to
depend on this new crate.
#10036
Wasmtime's interpreter, Pulley, is now complete and has been listed as tier 2. #9897 #9884 #9943 #9944 #9983 #9966 #9935 #10034 #10057 #10095
Wasmtime's CI now checks that the repository builds for aarch64-apple-ios.
Note that no tests are run for this target, so it's still tier 3.
#9888
Winch's support for AArch64 and simd on x64 have continued to progress
well. Winch additionally now fully supports the threads WebAssembly
proposal.
#9889
#9970
#9950
#9987
#9990
#9959
#10008
#10028
#10029
#10023
#10042
#10050
#10039
#10082
#10092
#10109
#10148
#10147
The memory64 WebAssembly feature is now enabled by default. This WebAssembly
proposal is now considered a tier 1 feature.
#9937
#10159
Wasmtime's full test suite and CI now includes 32-bit platforms such as x86 and armv7 Linux. These platforms have been added to tier 3 status and use Pulley as their execution backend. #10025
Initial experimental support for WASIp3 and async features of the Component Model have started to land. These features are not yet ready for general-purpose use. #10044 #10047 #10083 #10103
The wasmtime CLI now supports using a TOML configuration file via --config
in addition to CLI options.
#9811
#10132
Initial support for a new assembler on x64 has been added. #10110 #10178
wasmtime-wasi split the WasiView trait into IoView and WasiView, and
wasmtime-wasi-http re-uses IoView in WasiHttpView. Details on porting
for embedders in PR.
#10016
wasmtime-wasi renamed some exported types and traits. Embedders which use
Pollable, InputStream, OutputStream, Subscribe, HostInputStream,
HostOutputStream, PollableFuture, or ClosureFuture from that crate
will need to rename those imports to their new names, describe in PR.
#10036
Components using a 64-bit linear memory should never have worked before, but they're now rejected earlier in the validation process. #9952
Module validation is now deterministic in the face of multiple errors. #9947
Wasmtime's minimum supported version of Rust is now 1.82.0. #9956
Cranelift will now deduplicate trap[n]z instructions.
#10004
The --emit-clif option to wasmtime compile now emits post-optimization
CLIF.
#10011
The signals-based-traps Cargo feature has been removed in favor of
auto-detection of available features based on the #[cfg] directives
available for the target platform.
#9941
The async_stack_zeroing configuration knob now covers all stack allocations,
not just those from the pooling allocator.
#10027
Wasmtime should work-by-default on more platforms, even those where Cranelift has no support for the architecture. This is done by ensuring some architecture and platform-specific bits are removed on unknown platforms (and Pulley is used instead). #10107
Wasmtime now compiles on platforms missing 64-bit atomics. #10134
Fixed a missing case for Ref::matches_ty should return true.
#9985
A bug with using the single_pass register allocation algorithm on x64/s390x
has been fixed by refactoring how branches are represented.
#10086
#10087
A bug with argument extensions on riscv64 has been fixed. #10069
The PartialEq implementation for RegisteredType has been fixed.
#10091
The output of component::bindgen! now works with #![no_std] crates.
#10105
Fix wasmtime wast when combined with --fuel.
#10121
The wat feature of the C API is now plumbed correctly in a few more
locations.
#10124
Spurious wake-ups in blocking_* methods of InputStream and OutputStream
have been fixed.
#10113
Fix a missing increment in WASIp1-to-WASIp2 adapter which affected WASI configurations that have multiple preopened directories. #10064
Released 2025-01-21.
Winch now supports epoch-based interruption. #9737
Released 2025-01-20.
Winch now supports epoch-based interruption. #9737
Pulley, Wasmtime's WebAssembly interpreter, has seen quite a lot of progress and support fleshed out. It's still not 100% complete but should be about ready to start kicking the tires. #9744
The Wasmtime CLI now supports a -Wextended-const flag to control whether the
extended-const wasm proposal is enabled or not.
#9768
Work continues to progress on the AArch64 Winch backend, bringing it closer to completion. #9762 #9767 #9751 #9784 #9781 #9792 #9787 #9798 #9850
Wasmtime now supports a "custom code publisher" which can be useful when Wasmtime doesn't have built-in support for a particular environment. #9778
Configuration options have been added for wasmtime-wasi-http outgoing
bodies.
#9800
Log prefixes can now be disabled for the wasmtime serve command.
#9821
A new WASMTIME_LOG_NO_CONTEXT environment variable was added to live
alongside WASMTIME_LOG.
#9902
Release artifacts for aarch64-musl targets are now available. #9934
Wasmtime libcalls now return whether a trap happened rather than raising a trap directly to better prepare for the Pulley interpreter and an eventual implementation of Wasm exception-handling. #9710
Wasmtime will now use the Pulley interpreter by default on platforms that are not supported by Cranelift. #9741
Demangling symbols in profiling and debugging has improved to handle failures to demangle C++ symbols. #9756
WASI WIT files have been updated to 0.2.3. #9807
Wasmtime's bindgen! macro in async mode no longer uses #[async_trait]
an instead natively uses async fn in traits.
#9867
Floats are no longer canonicalized flowing into or out of components. #9879
Instance methods are now translated to static methods in DWARF translation. #9898
The C API now supports debug builtins for debugging guest code. #9915
Fixed deallocating async stacks when using Store::into_data. #10009
Released 2025-01-14.
Store::into_data.
#10009The ISLE DSL used for Cranelift now has a first-class bool type. #9593
Released 2024-12-20.
The ISLE DSL used for Cranelift now has a first-class bool type.
#9593
Cranelift now supports a new single-pass register allocator designed for compile-time performance (unlike the current default which is optimized for runtime-of-generated-code performance). #9611
The wasmtime crate now natively supports the wasm-wave crate and its
encoding of component value types.
#8872
A Module can now be created from an already-open file.
#9571
A new default-enabled crate feature, signals-based-traps, has been added to
the wasmtime crate. When disabled then runtime signal handling is not
required by the host. This is intended to help with future effort to port
Wasmtime to more platforms.
#9614
Linear memories may now be backed by malloc in certain conditions when guard
pages are disabled, for example.
#9614
#9634
Wasmtime's async feature no longer requires std.
#9689
The buffer and budget capacity of OutgoingBody in wasmtime-wasi-http are
now configurable.
#9670
Wasmtime's external and internal distinction of "static" and "dynamic" memories has been refactored and reworded. All options are preserved but exported under different names with improved documentation about how they all interact with one another. (and everything should be easier to understand) #9545
Each Store<T> now caches a single fiber stack in async mode to avoid
allocating/deallocating if the store is used multiple times.
#9604
Linear memories now have a 32MiB guard region at the end instead of a 2GiB guard region by default. #9606
Wasmtime will no longer validate dependencies between WebAssembly features,
instead delegating this work to wasmparser's validator.
#9623
Cranelift's isle-in-source-tree feature has been re-worked as an environment
variable.
#9633
Wasmtime's minimum supported Rust version is now 1.81. #9692
Synthetic types in DWARF are now more efficiently represented. #9700
Debug builtins on Windows are now exported correctly. #9706
Documentation on Config now clarifies that defaults of some options may
differ depending on the selected target or compiler depending on features
supported.
#9705
Wasmtime's error-related types now all unconditionally implement the Error
trait, even in #[no_std] mode.
#9702
Support for the Wasm GC proposal is now complete. A new "null" GC has been also added which does not ever collect garbage. #9389 #9392 #9401 #9435 #94
Released 2024-11-20.
Support for the Wasm GC proposal is now complete. A new "null" GC has been also added which does not ever collect garbage. #9389 #9392 #9401 #9435 #9437 #9438 #9446 #9448 #9454 #9455 #9484
Unstable WIT APIs now have feature gates configured at link-time and new
-Scli-exit-with-code / -Snetwork-error-code options are available as well.
#9381
#9276
Initial support for the wide-arithmetic proposal has been implemented. #9403 #9500
Guests on s390x now implement the "inline probestacks" for Cranelift to more robustly detect stack overflows. #9423
Missing CLI options for the pooling allocator have been filled out. #9447
Cranelift now supports 128-bit atomics on x64. #9459
A new Cargo feature has been added to the wasmtime crate to reexport the
wasmparser dependency.
#9485
Support for a new PyTorch backend for wasi-nn has been added. #9234
A new -Cnative-unwind-info flag has been added to the wasmtime CLI.
#9494
Initial support for illumos has been added. #9535
A new Caller::get_module_export API has been added.
#9525
Basic debug logging has been added to the debug info transformatino. #9526
The WASI WITs vendored are now updated to 0.2.2. #9395
The wasmtime-wasi-runtime-config is now named wasmtime-wasi-config.
#9404
Documentation on the implementation status of WebAssembly proposals has been updated. #9434
Wasmtime's WASI documentation has been overhauled. #9471
The wasi_config_preopen_dir in Wasmtime's C API now takes file/directory
permissions.
#9477
Detection of libunwind vs libgcc is now done with weak symbols. #9479
Winch has improved detection of unsupported features in a Config.
#9490
Winch now supports fuel-based interruption. #9472
Wasmtime's minimum supported Rust version is now 1.80. #9496
ISLE no longer supports scheme-style booleans. #9522
ISLE now supports block comments. #9529
Support for shared memory in the C API has been added. #9507
Configuration options for guard size regions have been merged into a single option. #9528
Update to cap-std 3.4.1, for #9559, which fixes a wasi-filesystem sandbox escape on Windows. CVE-2024-51745.
Released 2024-11-05.
The "table64" extension of the memory64 proposals to WebAssembly has been implemented. #9206
Released 2024-10-22.
The "table64" extension of the memory64 proposals to WebAssembly has been implemented. #9206
Initial support has been added for compiling WebAssembly modules with Pulley, Wasmtime's interpreter. Note that the interpreter is not feature complete yet. #9240
Wasmtime can now execute code without relying on host-based signal handlers. #9230
Work has continued on implementing the GC proposals in Wasmtime. #9246 #9244 #9271 #9275 #9278 #9282 #9285 #9326 #9341 #9358
Support for ARM64 Windows has been finished with support for unwinding. Release binaries are now also available for this platform. #9266 #9283
The bindgen! macro now supports multiple paths to load WIT from.
#9288
A new -W async-stack-size=N argument has been added to the CLI.
#9302
A new wasmtime completion subcommand can be used to generate a completion
script for the Wasmtime CLI.
#9312
Components now support initialize_copy_on_write_image like core modules.
#9357
Initial support for the ISLE verifier Crocus has landed. #9178
Wasmtime now requires Rust 1.79.0 to compile. #9202
The future-trailers.get in wasi-http now returns none when trailers are
absent.
#9208
The Cranelift instructions iadd_cin and isub_bin were removed. The
isub_borrow and iadd_carry instructions were renamed to {u,s}add_carry
and {u,s}sub_borrow.
#9199
Winch now supports multi-value results on AArch64. #9218
Some issues related to shutdown have been fixed with WASI sockets.
#9225
Cranelift now has a Cargo feature to enable support for all native ISAs and not Pulley. #9237
Cranelift support for StructArgument in the arm64, riscv64, and s390x
backends has been removed.
#9258
The pooling allocator no longer limits instances/memories/tables by default. #9257
Stack overflow on an async stack will now print a message that this happened. #9304
Cranelift's cranelift-wasm crate has been removed and folded directly into
wasmtime-cranelift.
#9313
Cranelift's TrapCode type is now represented with a single byte.
#9338
Update to cap-std 3.4.1, for #9559, which fixes a wasi-filesystem sandbox escape on Windows. CVE-2024-51745.
Released 2024-11-05.
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Released 2024-10-09.
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Fix a race condition could lead to WebAssembly control-flow integrity and type safety violations. GHSA-7qmx-3fpx-r45m
The wasmtime CLI's -Wmax-wasm-stack option now automatically configures the async stack size as well. A new -Wasync-stack-size option was additionally
Released 2024-09-24.
wasmtime CLI's -Wmax-wasm-stack option now automatically configures
the async stack size as well. A new -Wasync-stack-size option was
additionally added to configure it too.
#9302The WinML backend of wasmtime-wasi-nn now supports FP16 and I64. #8964
Released 2024-09-20.
The WinML backend of wasmtime-wasi-nn now supports FP16 and I64. #8964
Pooling allocator configuration options for table elements and core instance size can now be changed on the CLI. #9138
Wasmtime now supports the extended-const WebAssembly proposal. #9141
The wasmtime crate embedding API now has ArrayRef for allocating wasm GC
arrays.
#9145
Cranelift now has a stack_switch CLIF instruction to be used with the
WebAssembly stack switching proposal.
#9078
There are now more constructors available on bindgen!-generated structures
for component exports now which use instantiated components rather than
pre-instantiated components.
#9177
The host bindgen macro now accepts a new verbose_tracing option, which will
trace the value of list arguments. The new behavior of the tracing option
is that it does not print list values without verbose_tracing also being
present.
#9262
Wasmtime's support for WASI is now listed with the 0.2.1 version instead of 0.2.0. This is expected to not cause fallout or breakage, but please open an issue if you see any problems. #9063
Work continues on Winch's AArch64 backend. #9114 #9092 #9171
Component model resource methods can now be generated as async and will do
so by default if async is enabled for all functions.
#9091
Work has continued on Wasmtime's interpreter backend, Pulley. #9089
The internal implementation of input-stream and output-stream for
filesystems in wasmtime-wasi have been refactored to directly implement
the corresponding host traits. This additionally helps cleanup the internal
organization of host-side resources in wasmtime-wasi.
#9129
Wasmtime now uses the new "user" stack maps in Cranelift rather than the old regalloc-based stack maps for GC references. #9082
Wasmtime's handling of WebAssembly features now works slightly differently from before to provide better error messages and fewer panics on unsupported WebAssembly features depending on compiler and target selection. Additionally the reference-types WebAssembly proposal is always on-by-default regardless of crate features. #9158 #9162
The wasmtime CLI will now use the async version of I/O where possible to
properly support -Wtimeout and timing out instances blocked in I/O.
#9184
Use tracing::Instrument in generated bindings when tracing and async are
enabled, ensuring that spans aren't present in traces from unrelated async
tasks.
#9217
#9263
Completed support for the CallHook API when using the component model.
#9196
The compile time for a component model enum type with many cases should be
much improved now.
#9122
Some minor bugfixes have been made for when Wasmtime is working with split DWARF in WebAssembly files. #9109 #9132 #9134 #9139 #9151
An issue with bounds checks and dynamic checks has been fixed in Winch to ensure bounds checks are correctly implemented. #9156
Filesystem sandbox escape when paths or symlinks contain trailing slashes. GHSA-vqjp-4c8c-hfgg
Released 2026-08-20
v24.0.13: Release Wasmtime 24.0.13 (#14173)
Compare
Stores can mix up type indices between engines. GHSA-hgjw-h833-99q9
Released 2026-07-31.
v24.0.12: Release Wasmtime 24.0.12 (#14040)
Compare
WASI hard links and renames check wasmtime-wasi's FilePerms for destination GHSA-4ch3-9j33-3pmj
Released 2026-06-24.
Leak in WASIp1 fd_renumber implementation. GHSA-3p27-qvp9-27qf
WASI path_open(TRUNCATE) bypasses FilePerms::WRITE host restriction. GHSA-2r75-cxrj-cmph
Released 2026-05-21.
FilePerms::WRITE host restriction.
GHSA-2r75-cxrj-cmphFixed a bug in lowering of f64.copysign on x86-64 whereby when combined with an f64.load, the resulting machine code could read 16 bytes rather than 8
Released 2026-04-30.
f64.copysign on x86-64 whereby when combined
with an f64.load, the resulting machine code could read 16 bytes rather
than 8 bytes. This could result in a segfault when Wasmtime is configured
without signals-based traps.
GHSA-vc8c-j3xm-xj73Out-of-bounds write or crash when transcoding component model strings. GHSA-394w-hwhg-8vgm
Released 2026-04-09.
Out-of-bounds write or crash when transcoding component model strings. GHSA-394w-hwhg-8vgm
Wasmtime segfault or unused out-of-sandbox load with f64x2.splat operator
on x86-64.
GHSA-qqfj-4vcm-26hv
Panic when transcoding misaligned utf-16 strings. GHSA-jxhv-7h78-9775
Panic when lifting flags component value.
GHSA-m758-wjhj-p3jq
Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding. GHSA-hx6p-xpx3-jvvv
Wasmtime's implementation of WASI now has the ability to limit resource consumption on behalf of the guest, such as host-allocated memory. This means
Released 2026-02-24.
wasi:random/random.get-random-bytes, for example, can have limits in place
to 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-9p4wwasi:http/types.fields has been
resolved
GHSA-243v-98vx-264hPrevent using shared memories with Memory. CVE-2025-64345
Fix a panic in the host caused by preview1 guests using fd_renumber. CVE-2025-53901.
Released 2025-07-18.
Fix a panic in the host caused by preview1 guests using fd_renumber.
CVE-2025-53901.
Fix a panic in the preview1 adapter caused by guests using fd_renumber.
#11277
Released 2025-06-24.
Fix a panic with host-defined tables/globals and concrete reference types. #11103
Released 2025-06-24.
Update to cap-std 3.4.1, for #9559, which fixes a wasi-filesystem sandbox escape on Windows. CVE-2024-51745.
Released 2024-11-05.
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Released 2024-10-09.
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Fix a race condition could lead to WebAssembly control-flow integrity and type safety violations. GHSA-7qmx-3fpx-r45m
A new wasmtime_engine_clone function was added to the C API. #8907
Released 2024-08-20.
A new wasmtime_engine_clone function was added to the C API.
#8907
Wasmtime now has basic support for allocating a StructRef in the embedder
API.
#8933
The wasmtime run subcommand now support a --argv0 flag indicating the
value of the first element to arguments reported to wasm if it shouldn't be
the default of the wasm binary name itself.
#8961
Support for Winch on AArch64 continued to improve. #8921 #9018 #9033 #9051
An initial implementation of the wasi-runtime-config proposal was added to
Wasmtime.
#8950
#8970
#8981
Initial support for f16 and f128 in Cranelift continued to improve. #8893 #9045
More types in wasmtime-wasi-http implement the Debug trait.
#8979
The wasmtime explore subcommand now supports exploring CLIF too.
#8972
Support for SIMD in Winch has begun, but it is not complete yet. #8990 #9006
Initial work on Pulley, an interpreter for Wasmtime, has begun. #9008 #9013 #9014
The -Wunknown-imports-trap flag to wasmtime run now supports components.
#9021
An initial implementation of the wasi-keyvalue proposal was added to
Wasmtime.
#8983
#9032
#9050
#9062
An unsafe API has been added to unload process trap handlers.
#9022
The s390x backend now fully supports tail calls. #9052
The flags type in the component model now has a hard limit of 32-or-fewer
flags. For more information about this transition see
https://github.com/WebAssembly/component-model/issues/370.
#8882
Multiple returns for functions in the component model are now gated by default and are planned to be removed. #8965
TCP streams in WASIp2 will now immediately return StreamError::Closed when
the TCP stream is closed or shut down.
#8968
#9055
Cranelift will now perform constant propagation on some floating-point operations. #8954
Wasmtime and Cranelift now require at least Rust 1.78.0 to compile. #9010
The wasmtime::Val type now implements the Copy trait.
#9024
Wasmtime's wasi-nn implementation has been updated to track the upstream specification. #9056
Names provided to trappable_imports in bindgen! are now validated to be
used.
#9057
Support for multi-package *.wit files now requires a package ...; header
at the top of the file.
#9053
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Released 2024-10-09.
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Fix a race condition could lead to WebAssembly control-flow integrity and type safety violations. GHSA-7qmx-3fpx-r45m
Building the c-api from crates.io now correctly configures an include directory for header files with configured versions of header files. #9102
Fixed some issues when auto-publishing crates to crates.io. #8986
Support for DWARF debugging information with native debuggers is now implemented for components. #8693
Released 2024-07-22.
Support for DWARF debugging information with native debuggers is now implemented for components. #8693
CLIF frontends can now define their own stack maps. #8728 #8876
Wasmtime now supports the custom-page-sizes proposal. #8763
This project now publishes a crate named
wasi-preview1-component-adapter-provider which provides the WASIp1 adapters
as constants in Rust code.
#8874
Call hooks now have access to the full StoreContextMut<T>.
#8791
Call hooks have been moved behind an off-by-default compile-time Cargo feature
named call-hook.
#8795
#8808
Wasmtime's minimum supported Rust version is now 1.77.0. #8796
Resumable traps have been removed from Cranelift. #8809
Traps are not GC safepoints any more in Cranelift. #8810
Support for Intel memory protection keys is now disabled by default at compile time and is gated behind a Cargo feature. #8813
Exports from components have been refactored and redesigned to support skipping name lookups at runtime where possible. #8786
Wasmtime's lookup of versioned component exports now takes semver into account in the same manner as imports. #8830
Wasmtime's guest profiler will now take samples at hostcall boundaries. #8802
Wasmtime's pooling allocator now by default allows 32-bit linear memories to grow to their full size of 4G. #8849
The size of WASI adapter binaries has been optimized. #8858 #8859
The wasmtime-wasi-http crate has been refactored to better match the
wasmtime-wasi crate.
#8861
Support for caching call_indirect sites has been removed.
#8881
Wasmtime's x86_64 binary releases are now based on AlmaLinux 8 instead of CentOS 7. #8892
An issue with generated .debug_loc sections for native debuggers has been
fixed.
#8753
Wasmtime's no_std build for riscv64 has been fixed.
#8770
A bug related to lost Waker instances with async stdio streams has been
fixed.
#8782
Configuration of trappable_error_type has been improved in Wasmtime's
bindgen! macro.
#8833
Prints to stdout/stderr without a newline now work better with wasmtime serve.
#8877
An issue with br_if and stack-related state has been fixed in Winch.
#8886
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Released 2024-10-09.
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Fix a race condition could lead to WebAssembly control-flow integrity and type safety violations. GHSA-7qmx-3fpx-r45m
The CMake-based build of Wasmtime's C API now adds a WASMTIME_FASTEST_RUNTIME option which activates the "fastest-runtime" compilation profile which e
Released 2024-06-20.
The CMake-based build of Wasmtime's C API now adds a
WASMTIME_FASTEST_RUNTIME option which activates the "fastest-runtime"
compilation profile which enables LTO.
#8554
Cranelift supports more instructions in the RISC-V Zfa and ZiCond extensions. #8582 #8695
Support for fused-multiply-and-add on RISC-V has been improved. #8596 #8588
Release binaries for {aarch64,x86_64}-android have been added. Note that
Android is still a Tier 3 target.
#8601
Wasmtime now supports supertypes and finality in the type hierarchy for wasm gc. #8595
Lazy initialization of tables can now be tuned with a CLI flags and configuration option. #8531
Wasmtime now compiles for x86_64 OpenBSD. Note that this is a Tier 3 target and continued support is always appreciated. #8613
Stack slots in Cranelift can now specify custom alignment. #8635
Wasm function names are now used in compiled objects to assist with debugging and introspection with native tools. #8627
Wasmtime's release artifacts now includes wasmtime-platform.h for use with
no_std targets.
#8644
Release binaries for x86_64 Alpine Linux have been added. #8668
A new Component::define_unknown_imports_as_traps function has been added to
stub out functions in a component linker.
#8672
Wasmtime and Cranelift's now require Rust 1.76.0 to build. #8560
The wasi_config_preopen_dir function no longer always returns true in the
C API. Additionally wasi_config_set_env and wasi_config_set_argv may now
return an error.
#8572
Cranelift now updates registers of backend instructions in-place, simplifying register allocation and assignment. #8566 #8581 #8592 #8604 #8605
Wasmtime now attempts to batch memory decommits into one tight loop. #8581 #8590
Bindings generated with bindgen! now have generated GetHost traits and
add_to_linker_get_host functions which enable a more general means by which
to acquire host implementations from a store's T.
#8448
The wasmtime serve subcommand will now dynamically determine whether to use
the pooling allocator by default based on the system's available virtual
memory.
#8610
Implementations of Host traits in the wasmtime-wasi crate are now for
WasiImpl<T> instead of blanket impls for T.
#8609
#8766
The concepts of "virtual sp offset" and "nominal sp" have been removed from all Cranelift backends. #8631 #8643
The maximum size of linear memory in the pooling allocator is now specified in bytes instead of pages. #8628
Wasmtime no longer has two different host ABIs for host functions and instead
only has one. The "array" calling convention is now unconditionally used
instead of having a split between the "native" calling convention and the
"array" calling convention. This means that Func::new is now available even
when the cranelift feature is disabled.
#8629
#8646
Wasmtime's C API bindings for CMake have been refactored and now supports specifying Cargo features directly. Functions that are configured out are now also gated in header files. #8642
Wasmtime's C API can now be built without Cranelift or Winch. #8661
Wasmtime's release binaries have Winch compiled in by default now. #8660
The output of wasmtime explore now shows function names in addition to
indices.
#8639
Support for the Wasmtime 13-and-prior CLI has been removed. #8597
Wiggle-based borrow checking has been removed in favor of modeling host usage of guest memory with Rust-level borrows. #8702
Wasmtime's bindgen! macro will now generate the same hierarchy of
traits/types/modules even when the with module is used via new pub use
statements.
#8721
The WasiCtxBuilder::socket_addr_check function now takes an async closure.
#8715
The Func::wrapN_async functions and friends have all been consolidated into
a single function with a slightly different signature of taking a tuple of
arguments rather than "splatted" arguments.
#8732
Trampoline lookup for wasm gc functions that may use subtyping on the host to match a guest's desired type now no longer panics. #8579
The total size of arguments, environment variables, and preopens is now allowed to exceed 64k when using the wasip1 component adapter. #8594
Performing a zero-length read on file streams is now fixed in WASI.
#8611
Tail calls are now turned by default after a mistake was discovered in the previous releases's intent to enable them by default. #8682
Winch support for f64 comparison instructions has been fixed.
#8685
The SO_REUSEADDR option is reenabled for Unix platforms with wasmtime serve.
#8738
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Released 2024-10-09.
Fix a runtime crash when combining tail-calls with host imports that capture a stack trace or trap. GHSA-q8hx-mm92-4wvg
Fix a race condition could lead to WebAssembly control-flow integrity and type safety violations. GHSA-7qmx-3fpx-r45m
Fixed outgoing HTTP requests which don't explicitly specify a port. #8671
Released 2024-05-22.
The wasmtime explore subcommand now supports *.wat files. #8314
Released 2024-05-20.
The wasmtime explore subcommand now supports *.wat files.
#8314
Wasmtime now supports DWARF Fission *.dwp files.
#8055
The wasmtime crate now supports #![no_std], and more information about
this transition can be found in
#8341.
#8463
#8483
#8485
#8528
#8533
A Config knob is now available for one-entry call_indirect caching to
speed up modules with lots of call_indirect instructions.
#8509
Cranelift's riscv64 backend has initial support for the Zfa Extension. #8536
The WebAssembly tail-calls proposal is now enabled by default when using the
Cranelift backend, except for the s390x architecture.
#8540
Support for NaN canonicalization on x64 has been optimized to avoid branches. #8313
The bindgen! macro now defaults to assuming imports cannot trap, but this
behavior is configurable at macro-generation time.
#8310
The fd_{read,write} implementations in wasmtime-wasi have been optimized.
#8303
The wasmtime-wasi-http crate has been refactored and has improved
documentation.
#8332
#8347
Unused with parameters in bindgen! now generate an error.
#8371
The fd_read implementation in wasmtime-wasi now only reads into a single
iovec per call.
#8415
The wasmtime_val_t type in the C API no longer holds any allocations. This
type must still be manually managed to properly unroot values, however.
#8451
Add an optimized "sleep" path for poll_oneoff to wasmtime-wasi.
#8429
The Wasmtime-internal wasmtime-runtime crate has been removed.
#8501
The pooling allocator now allows twice as many elements as before. #8527
Using CMake to build the C API has been improved along a number of axes. #8490 #8497 #8549
Improve error in CMake for when Cargo is not found. #8497
Make the c-api CMakeLists.txt easier to import. #8496
Borrow-checking in wiggle has been optimized to not be as fine-grained any more. This is a breaking change if users are relying on the ability to safe…
Released 2024-04-22.
Support for shared WebAssembly memories has been added to the C API. #7940
A Component::component_type method has been added to reflect on the imports
and exports of a component.
#8078
The with key in bindgen! now supports remapping entire packages and
namespaces.
#8083
Winch now supports the component model by using Cranelift to generate trampolines. #8082 #8109
The WASI-NN backend now supports ONNX. #7691
The wasmtime CLI now has an -S inherit-env flag for inheriting the entire
process environment.
#8168
Winch now supports the WebAssembly memory64 proposal. #8194
Embedders can now opt-in to allowing wasmtime-wasi to block the current thread with file operations, for example. #8190
A wasmtime::CodeBuilder type has been added to refine the configuration of
compiling a Module or a Component.
#8181
The wasmtime serve subcommand now enables configuring preopened directories
and environment variables.
#8279
Support for WebAssembly GC is in the process of being implemented which has
required refactoring and reimplementing the existing gc support for
externref. Many APIs in this area has changed, see linked PRs for more
details. Note that the wasm_* parts of the C API no longer support
externref.
#8011
#8196
The wasmtime::component::Val type no longer stores type information and
instead must be interpreted in the context of a type.
#8062
The arguments required for ResourceAny::try_from_resource have been
simplified by refactoring the internal representation.
#8061
The arguments required for wasmtime::component::Linker::func_new have been
simplified by refactoring the internal representation.
#8070
The pooling allocator is now enabled by default with wasmtime serve.
#8073
The error message for missing imports in has been improved with components. #7645
Wasmtime's MSRV is now 1.75.0. #8205
Wasmtime's translation of table-related instructions has improved codegen in
some common cases, especially with call_indirect.
#8063
#8125
#8124
#8134
#8137
#8162
#8159
#8172
#8171
#8139
#8206
Book-based documentation has been reordered and refactored. #8130
The -S common flag is renamed to -S cli, to better reflect that it provides
the wasi-cli APIs. -S common is still accepted for now, and will be deprecated
in the future.
#8166
The tail-call calling convention now supports callee-saved registers to improve performance and allow enabling this WebAssembly proposal by default in the future. #8246
The wasmtime-wasi crate has been refactored to restructure some items and
documentation has been added for most items.
#8228
Support for the WebAssembly threads proposal is now gated by an
on-by-default Cargo feature named threads.
#8260
Borrow-checking in wiggle has been optimized to not be as fine-grained any
more. This is a breaking change if users are relying on the ability to safely
mutably borrow disjoint regions of memory.
#8277
Connection timeouts with wasi-http have been fixed.
#8085
Generating bindings with bindgen! now works correctly when some WIT types
are not used.
#8065
Errors in wasi-http are no longer accidentally returned as traps.
#8272
C API bindings now depend on wasmtime-wasi instead of wasi-common, and the
wasi_config_preopen_socket function is no longer available as a result.
#8066
Fix a panic when compiling invalid components. #8322
Fix a panic using tables with the wrong type. #8284
…via the c api, as it will be deprecated in 20.0.0. #8053
Released 2024-03-20.
C API bindings for the sampling-based profiler in Wasmtime have been added. #7854
Add the WasiP1Ctx to ease the use of wasmtime-wasi in place of wasi-common
#8053
The Winch compiler backend is now feature-complete for x64. Note that minor issues and fuzz bugs are still being addressed, but now's a good time to test if you're interested. #7894 #7909 #7927 #7932 #7949 #7974 #8001
The typed function references proposal to WebAssembly is now fully implemented. #7943
The component::Linker type is now "semver aware" in that it enables loading
components referring to past or future versions of interfaces so long as the
types are compatible.
#7994
Wasmtime can now be built for "custom platforms" which is intended for bare-metal builds. #7995
The wasmtime-wasi-nn crate now has a backend based on WinML.
#7807
The wasmtime CLI now has flags for configuring limits of the pooling
allocator.
#8027
The wasmtime serve command no longer binds its port with SO_REUSEADDR
meaning that if it is invoked twice only one will succeed.
#7863
The sampling-based profiler in Wasmtime now takes an explicit argument of the time delta between samples. #7873
Many accessors for type information now require an &Engine argument to be
specified in preparation for an implementation of wasm GC.
#7892
The host header is now forbidden in wasi-http.
#7905
Stronger type-checks are now performed for host-owned resources when interacting with the component model to help catch mistakes earlier. #7902
Demangling Rust and C/C++ symbols in WebAssembly modules is now done by default in the C API. #7962
Preview2-based APIs are now located at the root of the wasmtime_wasi crate
instead of a submodule.
#7933
Components now reserve index 0 for handle tables to match the component model specification. #7661
Support for externref has been moved behind a new gc Cargo feature. This
will also gate support for wasm gc in the future.
#7975
Require the WASMTIME_WASI_CONFIG_PREOPEN_SOCKET_ALLOW environment variable
to bet set to allow the use of wasi_config_preopen_socket via the c api, as
it will be deprecated in 20.0.0.
#8053
Fix bindgen! with trappable_error_type using unversioned/versioned packages. #8305
Fix inferring native flags when a compilation target is specified. https://github.com/bytecodealliance/wasmtime/pull/7991
Released 2024-03-12
Fix an egraph rule bug that was permitting an incorrect ireduce rewrite to unary and binary operations, leading to miscompilations. #8005
Released 2024-02-28.
ireduce rewrite to
unary and binary operations, leading to miscompilations.
#8005Fixed a mistake in the CI release process that caused the crates.io publication of the 18.0.0 release to not succeed. #7966
Released 2024-02-20.
Support for the old wasi-common crate and the original implementation of "WASIp1" aka "preview1" is being deprecated in the wasmtime-wasi crate. Users…
Released 2024-02-20.
The wasmtime-c-api-impl crate is now published on crates.io.
#7837
A new EngineWeak type enables holding a weak pointer to an engine with the
ability to dynamically and fallibly upgrade it to an Engine.
#7797
The WebAssembly tail calls proposal can now be enabled through the C API. #7811
The import and export types of a Component can now be inspected at runtime.
#7804
New APIs/types have been added to support a faster version of looking up
module exports without using string lookups with Module::get_export_index.
#7828
Owned resources represented with ResourceAny can now be passed as arguments
to functions that require a borrow<T> parameter.
#7783
Generated structures from wasmtime::component::bindgen! for exported
interfaces are now all renamed to Guest to avoid conflicting with WIT names.
#7794
Guest profiler output will now automatically demangle symbols. #7809
The wasmtime crate now has a runtime Cargo feature which, if disabled,
enables building Wasmtime with only the ability to compile WebAssembly
modules. This enables compiling Wasmtime's compilation infrastructure, for
example, to WebAssembly itself.
#7766
Support for the old wasi-common crate and the original implementation of
"WASIp1" aka "preview1" is being deprecated in the wasmtime-wasi crate.
Users should migrate to the wasmtime_wasi::preview2 implementation, which
supports both WASIp1 and WASIp2, as in the next release the
wasi-common-based reexports of wasmtime-wasi will be deleted.
#7881
cranelift: Include clobbers and outgoing args in stack limit. #8334
Released 2024-04-11
Fix an egraph rule bug that was permitting an incorrect ireduce rewrite to unary and binary operations, leading to miscompilations. #8005
Released 2024-02-28
ireduce rewrite to
unary and binary operations, leading to miscompilations.
#8005Fix an egraph elaboration fuzzbug that was allowing values with dependencies that shouldn't be duplicated to be chosen in a context that would make th
One column per quarter.