v2.0.0-beta.3 - 2026/06/22
Pre-release
Pre-release
·
3 commits
to main
since this release
Added
- Added a new
validatecrate feature towasmiandwasmi_clicrates. 🚀- This feature controls whether Wasmi support Wasm validation.
- The feature is enabled by default with
--no-default-features. - Users who have full control over the Wasm inputs to Wasmi may
have a great need for this as this can reduce binary artifact sizes
by ~200-300kB. - PR: #1902
- Added new
libmcrate feature to Wasmi. #1860- This allows to enforce
libmusage.
- This allows to enforce
- Added support to Wasmi CLI to print
funcrefandexternrefwithnullvalue. #1839 - Add support for hexdec encoded integer args to Wasmi CLI. #1851
Changed
- Wasmi IR operators now store their results in accumulator registers. 🚀
- With this, Wasmi uses the same interpreter architecture as the fastest Wasm interpreters, Wasm3 and Stitch.
- Benchmarks concluded that Wasmi is on par and sometimes even exceeds performance of its competition now.
- PRs:
- Follow-up Optimizations:
- New Wasmi execution optimizations: 🚀
- Re-designed
CodeMapto be lock-free & append-only. #1898- Wasmi makes full use of these
CodeMapattributes which significantly
improves Wasm to Wasm function call performance.
- Wasmi makes full use of these
- Only zero-initialize non-parameter function locals upon Wasm call. #1893
- This significantly improves Wasm to Wasm function call performance.
- CLI: disallow
v128argument types. #1848- With this Wasmi CLI now mirrors Wasmtime CLI's behavior.
- Improve
instancepreservation of same-instance calls. #1878 - Translate
ref.is_nullviai32.eqzinstead ofi64.eqz. #1861
- Re-designed
Fixed
- Fix operand order in
v128_select_sssstranslation. #1834- Thanks to @shumbo for the fix!
- Fix re-extraction of
mem0after host function calls. #1837- Thanks to @npiesco for the fix!
- Fixed incorrect NaN behavior for
f{32,64}.{ceil,floor,trunc}. #1860
Internal
- Automatically create release artifacts for Wasmi GitHub releases. #1906
- Added flag to steer LLVM away from bad codegen. #1873
- Added missing
stdcrate feature forward fromwasmitowasmi_ir. #1862 - Update Wasmtime fuzzing oracle to v45. #1867
- Make benchmarks test properly under Windows. #1885
- Fixed a bug that
watbased tests were not ignored on!wat. #1883 - Added a whole variety of new Rust based benchmarks: