Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Update wasm-tools crates to 250 (#13437)

Nick Fitzgerald0a8e31583956
diff --git a/Cargo.lock b/Cargo.lock
index bfe232bfcf..990c67c770 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -645,7 +645,7 @@ dependencies = [
"test-programs-artifacts",
"tokio",
"wasm-compose",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmtime",
"wasmtime-wasi",
]
@@ -2253,14 +2253,14 @@ dependencies = [
[[package]]
name = "json-from-wast"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "37f89300ae0e8a5a1d462beb0549078ff0e6a592f26d75350e667c70dccc9cec"
+checksum = "53384ef8ba578c868394dc946970a4a1751cb5cf47f0865f957578c537761419"
dependencies = [
"anyhow",
"serde",
"serde_derive",
- "wast 249.0.0",
+ "wast 250.0.0",
]
[[package]]
@@ -3821,7 +3821,7 @@ dependencies = [
"wasmtime",
"wasmtime-test-util",
"wat",
- "wit-component 0.249.0",
+ "wit-component 0.250.0",
]
[[package]]
@@ -4291,7 +4291,7 @@ name = "verify-component-adapter"
version = "46.0.0"
dependencies = [
"anyhow",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wat",
]
@@ -4399,7 +4399,7 @@ dependencies = [
"byte-array-literals",
"object 0.39.0",
"wasip1",
- "wasm-encoder 0.249.0",
+ "wasm-encoder 0.250.0",
"wit-bindgen-rust-macro 0.57.0",
]
@@ -4484,9 +4484,9 @@ checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49"
[[package]]
name = "wasm-compose"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "210c8e8da7a8d3ef8280c72ffcb32289c8354d905033b3daa6333a57c17b5181"
+checksum = "41d25ff9f6419c97fbf1bb4c658ec6e4e5a3cf1050cd9c368396adc8e15b3202"
dependencies = [
"anyhow",
"heck 0.5.0",
@@ -4494,8 +4494,8 @@ dependencies = [
"log",
"petgraph",
"smallvec 1.15.1",
- "wasm-encoder 0.249.0",
- "wasmparser 0.249.0",
+ "wasm-encoder 0.250.0",
+ "wasmparser 0.250.0",
"wat",
]
@@ -4521,12 +4521,12 @@ dependencies = [
[[package]]
name = "wasm-encoder"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69830ccbbf41c55eb585991659fb70867ef628193af3a495f09a6956f7615e59"
+checksum = "2271adb766023046af314460f1fae02cc34ea16d736d93404d3b65be44270923"
dependencies = [
"leb128fmt",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
]
[[package]]
@@ -4555,42 +4555,42 @@ dependencies = [
[[package]]
name = "wasm-metadata"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf6f124f965aeeec4ed97f7176a7bb2c862f550d098d488ff258db2867893894"
+checksum = "14d2fe7edf8b5c8870da3f6796f8ebe1898af1276f18490c861fcb1a11436556"
dependencies = [
"anyhow",
"indexmap 2.14.0",
- "wasm-encoder 0.249.0",
- "wasmparser 0.249.0",
+ "wasm-encoder 0.250.0",
+ "wasmparser 0.250.0",
]
[[package]]
name = "wasm-mutate"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bf42997760f4823609a837dd3433b3abe174ec265fe7ed4b1a4a704e32c033fb"
+checksum = "bcfde9f257ff50a90ce3958a4d6066791de780af7580abb6d33b6d1d484618b6"
dependencies = [
"egg",
"log",
"rand 0.10.1",
"thiserror 2.0.17",
- "wasm-encoder 0.249.0",
- "wasmparser 0.249.0",
+ "wasm-encoder 0.250.0",
+ "wasmparser 0.250.0",
]
[[package]]
name = "wasm-smith"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbd31d0a3861a8eb5c19024a1ee39a7c805151c44074a19a416599ff25b0540a"
+checksum = "39719ba92c2bb3b5879179758ca2642b8702d690d036012141d54603a2a4a687"
dependencies = [
"anyhow",
"arbitrary",
"flagset",
"serde",
"serde_derive",
- "wasm-encoder 0.249.0",
+ "wasm-encoder 0.250.0",
"wat",
]
@@ -4604,13 +4604,13 @@ dependencies = [
[[package]]
name = "wasm-wave"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90b6425ded10a93d45df352b941eebf8891ba30ddee9233e21cbe23de4fefbbe"
+checksum = "6e17cd128d1e4543bd11a9abf6ccab1eedf01d5c931785ec16dbaa297044670e"
dependencies = [
"logos",
"thiserror 2.0.17",
- "wit-parser 0.249.0",
+ "wit-parser 0.250.0",
]
[[package]]
@@ -4689,9 +4689,9 @@ dependencies = [
[[package]]
name = "wasmparser"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "30538cae9a794215f490b532df01c557e2e2bfac92569482554acd0992a102ea"
+checksum = "071d99cdfb8111603ed05500506c3298a940b58d609dd0259d3981785dd33556"
dependencies = [
"bitflags 2.11.1",
"hashbrown 0.17.0",
@@ -4702,13 +4702,13 @@ dependencies = [
[[package]]
name = "wasmprinter"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4e227e800fc74c0d60117391f71d60e4c956333cfc3be796ae72d269002aa52"
+checksum = "ae2ebdb361516cdfbc25d0e0e453f74c4d4a5046b54f114c03af990bf098e6f0"
dependencies = [
"anyhow",
"termcolor",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
]
[[package]]
@@ -4751,9 +4751,9 @@ dependencies = [
"tempfile",
"tokio",
"wasm-compose",
- "wasm-encoder 0.249.0",
+ "wasm-encoder 0.250.0",
"wasm-wave",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmtime-environ",
"wasmtime-internal-cache",
"wasmtime-internal-component-macro",
@@ -4864,8 +4864,8 @@ dependencies = [
"tracing",
"walkdir",
"wasi-common",
- "wasm-encoder 0.249.0",
- "wasmparser 0.249.0",
+ "wasm-encoder 0.250.0",
+ "wasmparser 0.250.0",
"wasmprinter",
"wasmtime",
"wasmtime-cli-flags",
@@ -4888,10 +4888,10 @@ dependencies = [
"wasmtime-wasi-tls",
"wasmtime-wast",
"wasmtime-wizer",
- "wast 249.0.0",
+ "wast 250.0.0",
"wat",
"windows-sys 0.61.2",
- "wit-component 0.249.0",
+ "wit-component 0.250.0",
]
[[package]]
@@ -4934,8 +4934,8 @@ dependencies = [
"sha2",
"smallvec 1.15.1",
"target-lexicon",
- "wasm-encoder 0.249.0",
- "wasmparser 0.249.0",
+ "wasm-encoder 0.250.0",
+ "wasmparser 0.250.0",
"wasmprinter",
"wasmtime-internal-component-util",
"wasmtime-internal-core",
@@ -4949,7 +4949,7 @@ dependencies = [
"arbitrary",
"env_logger 0.11.5",
"libfuzzer-sys",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmprinter",
"wasmtime-environ",
"wasmtime-test-util",
@@ -4981,7 +4981,7 @@ dependencies = [
"rand 0.10.1",
"smallvec 1.15.1",
"target-lexicon",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmtime",
"wasmtime-fuzzing",
"wasmtime-test-util",
@@ -5008,12 +5008,12 @@ dependencies = [
"tempfile",
"tokio",
"v8",
- "wasm-encoder 0.249.0",
+ "wasm-encoder 0.250.0",
"wasm-mutate",
"wasm-smith",
"wasm-spec-interpreter",
"wasmi",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmprinter",
"wasmtime",
"wasmtime-cli-flags",
@@ -5070,7 +5070,7 @@ dependencies = [
"wasmtime",
"wasmtime-internal-component-util",
"wasmtime-internal-wit-bindgen",
- "wit-parser 0.249.0",
+ "wit-parser 0.250.0",
]
[[package]]
@@ -5105,7 +5105,7 @@ dependencies = [
"smallvec 1.15.1",
"target-lexicon",
"thiserror 2.0.17",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmtime-environ",
"wasmtime-internal-core",
"wasmtime-internal-unwinder",
@@ -5222,7 +5222,7 @@ dependencies = [
"log",
"object 0.39.0",
"target-lexicon",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmtime-environ",
"wasmtime-internal-cranelift",
"winch-codegen",
@@ -5236,7 +5236,7 @@ dependencies = [
"bitflags 2.11.1",
"heck 0.5.0",
"indexmap 2.14.0",
- "wit-parser 0.249.0",
+ "wit-parser 0.250.0",
]
[[package]]
@@ -5269,7 +5269,7 @@ dependencies = [
"serde_derive",
"target-lexicon",
"toml",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmprinter",
"wasmtime",
"wasmtime-environ",
@@ -5435,9 +5435,9 @@ dependencies = [
"object 0.39.0",
"serde_json",
"tokio",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmtime",
- "wast 249.0.0",
+ "wast 250.0.0",
]
[[package]]
@@ -5451,8 +5451,8 @@ dependencies = [
"rayon",
"test-programs-artifacts",
"tokio",
- "wasm-encoder 0.249.0",
- "wasmparser 0.249.0",
+ "wasm-encoder 0.250.0",
+ "wasmparser 0.250.0",
"wasmprinter",
"wasmtime",
"wasmtime-wasi",
@@ -5470,25 +5470,25 @@ dependencies = [
[[package]]
name = "wast"
-version = "249.0.0"
+version = "250.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2474a321bf9ae2808e9fa23ac4ec2b27300e70985e30bcb5a38d43b76bfc901a"
+checksum = "69e9294a1f0204aeb5c47e95165517f43ef3cc895918c4f3e939380d4c290f4a"
dependencies = [
"bumpalo",
"gimli 0.32.3",
"leb128fmt",
"memchr",
"unicode-width 0.2.0",
- "wasm-encoder 0.249.0",
+ "wasm-encoder 0.250.0",
]
[[package]]
name = "wat"
-version = "1.249.0"
+version = "1.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28af699d0a9c7e4e250b7b8e36167ae5215fbb4b7ae526bb4ce7b234ba0afc90"
+checksum = "0a549ed329a70e444e0f7796391ab2a87d0aef30ddde9f60e16e429224fafd02"
dependencies = [
- "wast 249.0.0",
+ "wast 250.0.0",
]
[[package]]
@@ -5615,7 +5615,7 @@ dependencies = [
"smallvec 1.15.1",
"target-lexicon",
"thiserror 2.0.17",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
"wasmtime-environ",
"wasmtime-internal-core",
"wasmtime-internal-cranelift",
@@ -6011,9 +6011,9 @@ dependencies = [
[[package]]
name = "wit-component"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d66a8d940b203e145ddd71f7790118f4ae17f240c670a3b80fe3c2373d7c0e57"
+checksum = "d35e69355f29f746a5b5ed3a81b78a69597d13e24798b89f35f3e2691e59e779"
dependencies = [
"anyhow",
"bitflags 2.11.1",
@@ -6022,10 +6022,10 @@ dependencies = [
"serde",
"serde_derive",
"serde_json",
- "wasm-encoder 0.249.0",
- "wasm-metadata 0.249.0",
- "wasmparser 0.249.0",
- "wit-parser 0.249.0",
+ "wasm-encoder 0.250.0",
+ "wasm-metadata 0.250.0",
+ "wasmparser 0.250.0",
+ "wit-parser 0.250.0",
]
[[package]]
@@ -6067,9 +6067,9 @@ dependencies = [
[[package]]
name = "wit-parser"
-version = "0.249.0"
+version = "0.250.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50840f2e2cf170d910858089d7dfb3e97c6f9a0d6ec7bff7f7cc28f5aeacc15f"
+checksum = "a7be74761ad42af22e13d82d89804369aa7298d4d67ae1523aa694f2b30e6b7a"
dependencies = [
"anyhow",
"hashbrown 0.17.0",
@@ -6081,7 +6081,7 @@ dependencies = [
"serde_derive",
"serde_json",
"unicode-xid",
- "wasmparser 0.249.0",
+ "wasmparser 0.250.0",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index ec7b5f7a22..5b04f6f3a3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -351,18 +351,18 @@ wit-bindgen = { version = "0.57.0", default-features = false }
wit-bindgen-rust-macro = { version = "0.57.0", default-features = false }
# wasm-tools family:
-wasmparser = { version = "0.249.0", default-features = false, features = ['simd'] }
-wat = "1.249.0"
-wast = "249.0.0"
-wasmprinter = "0.249.0"
-wasm-encoder = "0.249.0"
-wasm-smith = "0.249.0"
-wasm-mutate = "0.249.0"
-wit-parser = "0.249.0"
-wit-component = "0.249.0"
-wasm-wave = "0.249.0"
-wasm-compose = { version = "0.249.0", default-features = false }
-json-from-wast = "0.249.0"
+wasmparser = { version = "0.250.0", default-features = false, features = ['simd'] }
+wat = "1.250.0"
+wast = "250.0.0"
+wasmprinter = "0.250.0"
+wasm-encoder = "0.250.0"
+wasm-smith = "0.250.0"
+wasm-mutate = "0.250.0"
+wit-parser = "0.250.0"
+wit-component = "0.250.0"
+wasm-wave = "0.250.0"
+wasm-compose = { version = "0.250.0", default-features = false }
+json-from-wast = "0.250.0"
wstd = "0.6.5"
wasip2 = "1.0"
diff --git a/supply-chain/imports.lock b/supply-chain/imports.lock
index 188835397f..4c894819d2 100644
--- a/supply-chain/imports.lock
+++ b/supply-chain/imports.lock
@@ -1001,8 +1001,8 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"
[[publisher.json-from-wast]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.libc]]
@@ -1500,8 +1500,8 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"
[[publisher.wasm-compose]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-encoder]]
@@ -1515,8 +1515,8 @@ when = "2026-04-17"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-encoder]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-metadata]]
@@ -1531,13 +1531,13 @@ when = "2026-04-17"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-metadata]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-wave]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmparser]]
@@ -1551,13 +1551,13 @@ when = "2026-04-17"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmparser]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmprinter]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmtime]]
@@ -1716,13 +1716,13 @@ when = "2026-04-30"
trusted-publisher = "github:bytecodealliance/wasmtime"
[[publisher.wast]]
-version = "249.0.0"
-when = "2026-05-15"
+version = "250.0.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wat]]
-version = "1.249.0"
-when = "2026-05-15"
+version = "1.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wiggle]]
@@ -2011,8 +2011,8 @@ when = "2026-04-17"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wit-component]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wit-parser]]
@@ -2026,8 +2026,8 @@ when = "2026-04-17"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wit-parser]]
-version = "0.249.0"
-when = "2026-05-15"
+version = "0.250.0"
+when = "2026-05-21"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.witx]]
@@ -2521,7 +2521,7 @@ who = "Manish Goregaokar <[email protected]>"
criteria = "safe-to-deploy"
user-id = 1139 # Manish Goregaokar (Manishearth)
start = "2019-05-15"
-end = "2026-02-01"
+end = "2027-04-23"
notes = "All code written or reviewed by Manish"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"
@@ -2539,7 +2539,7 @@ who = "Manish Goregaokar <[email protected]>"
criteria = "safe-to-deploy"
user-id = 1139 # Manish Goregaokar (Manishearth)
start = "2019-07-25"
-end = "2026-02-01"
+end = "2027-04-23"
notes = "All code written or reviewed by Manish"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"