chore(deps): update wasmi to v2 - #25961
Open
uniget-bot wants to merge 1 commit into
Open
Conversation
nicholasdille-bot
approved these changes
Sep 1, 2026
nicholasdille-bot
left a comment
There was a problem hiding this comment.
Auto-approved because label type/renovate is present.
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:
1.1.0→2.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
wasmi-labs/wasmi (wasmi)
v2.0.0Compare Source
Upgrading from Wasmi
1.x? Please refer to theWasmi v1 to v2 migration guide
which lists all the changes that require action from users.
Wasmi
2.0.0includes all changes of the2.0.0-beta.0up to2.0.0-beta.10releases.Since those are far too many to repeat here, this entry only lists the highlights.
For the complete, PR-by-PR record please refer to the respective beta release entries:
Highlights
A completely new interpreter core
interpreter architecture used by the fastest Wasm interpreters, Wasm3 and Stitch.
of its competition now.
simdcrate feature no longer affects memory consumption orexecution performance of non-
simdWasm code.falls back to the portable (loop-based) dispatch automatically via the new
default-enabled
auto-dispatchcrate feature. #1968CodeMapto be lock-free and append-only significantly improving Wasm to Wasm call performance.InstanceEntitylayout plus caching greatly improved access to all instance relateddata, namely
Func,Global,Memory,Table,DataandElem.Wasm3's or Stitch'es executors with their instance-related bytecodes.
count/globalsbenchmark improved by a whopping ~35%.wasmi::Tableelements shrank from 64-bit (or even 128-bit with thesimdcrate featureenabled) to flat 32-bit references, shrinking Wasm tables by a factor of 2-4x.
Binary artifact size
validatecrate feature that controls whether Wasmi supports Wasm validation. #1902sizes by ~200-300kB by disabling it.
memory64is now optional via thememory64crate feature. #1934Opdebug output moved behind a new, default-disableddebugcrate feature andgeneric monomorphization in translation was replaced by explicit V-Tables.
Fuel metering
Wasmi's internal bytecode. #2013
that is also used in Wasmtime.
Config::operator_costandConfig::fuel_costAPIs. #2025Crate Features & configuration
deterministiccrate feature. #1947Configoption to disallow running thestartfunction of Wasm modules. #1985libmcrate feature to enforcelibmusage. #1860unstablecrate feature which enables Rust's unstablebecomekeyword toenforce tail calls in Wasmi's operator dispatch on nightly Rust. #1825
wasmi, includingportable-dispatch, and properly supportsno_std.CLI
wasmi_clito justwasmiand, similar toWasmtime's CLI, now features the
runandwastsub-commands. #1798 #1799wasmi_clicrate features:wasi,wast,run,portable-dispatchand
indirect-dispatch.Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 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 has been generated by Mend Renovate CLI.