A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
Update wasm-tools dependencies (#12096)
Alex Crichton6d890521a2be
diff --git a/Cargo.lock b/Cargo.lockindex 6a21a28897..734f9822d7 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -640,7 +640,7 @@ dependencies = ["test-programs-artifacts","tokio","wasm-compose",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmtime","wasmtime-wasi",]@@ -2151,14 +2151,14 @@ dependencies = [[[package]]name = "json-from-wast"-version = "0.241.2"+version = "0.242.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3b24b1c06b0a7939bd1f7f4628bc6025e4b92a73293fce85bafb96c6289b267b"+checksum = "733f93c5ce57e1e8dd5482deb3e93f08e7c39eaed4fc526bf578e248f27d9d0d"dependencies = ["anyhow","serde","serde_derive",- "wast 241.0.2",+ "wast 242.0.0",][[package]]@@ -3663,7 +3663,7 @@ dependencies = ["wasmtime","wasmtime-test-util","wat",- "wit-component",+ "wit-component 0.242.0",][[package]]@@ -4096,7 +4096,7 @@ name = "verify-component-adapter"version = "40.0.0"dependencies = ["anyhow",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wat",]@@ -4198,7 +4198,7 @@ dependencies = ["byte-array-literals","object 0.37.3","wasi 0.11.0+wasi-snapshot-preview1",- "wasm-encoder",+ "wasm-encoder 0.242.0","wit-bindgen-rust-macro",]@@ -4274,9 +4274,9 @@ checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49"[[package]]name = "wasm-compose"-version = "0.241.2"+version = "0.242.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c055b2e55b0de39b5d7a3fc8c0cb3e2062218070667e3b65b7b819b5690f3978"+checksum = "ccaa3800e42f253a3f58e20ba311b0dea1a5de012258615a397226c22af7a445"dependencies = ["anyhow","heck 0.5.0",@@ -4288,8 +4288,8 @@ dependencies = ["serde_derive","serde_yaml","smallvec",- "wasm-encoder",- "wasmparser 0.241.2",+ "wasm-encoder 0.242.0",+ "wasmparser 0.242.0","wat",]@@ -4303,6 +4303,16 @@ dependencies = ["wasmparser 0.241.2",]+[[package]]+name = "wasm-encoder"+version = "0.242.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "67f90e55bc9c6ee6954a757cc6eb3424d96b442e5252ed10fea627e518878d36"+dependencies = [+ "leb128fmt",+ "wasmparser 0.242.0",+]+[[package]]name = "wasm-metadata"version = "0.241.2"@@ -4311,36 +4321,48 @@ checksum = "876fe286f2fa416386deedebe8407e6f19e0b5aeaef3d03161e77a15fa80f167"dependencies = ["anyhow","indexmap 2.11.4",- "wasm-encoder",+ "wasm-encoder 0.241.2","wasmparser 0.241.2",]+[[package]]+name = "wasm-metadata"+version = "0.242.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "53cc3deb1bc19b28fa43bd5773ad712ab0ddabea785b78166d6791b14e955fe1"+dependencies = [+ "anyhow",+ "indexmap 2.11.4",+ "wasm-encoder 0.242.0",+ "wasmparser 0.242.0",+]+[[package]]name = "wasm-mutate"-version = "0.241.2"+version = "0.242.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "55039a20626e1391f2dd69e5af5481664efbb3321324c8f2f1fcc1d186fe3366"+checksum = "87511533c0fd89ed665a58b3376fe983cd49f7bf9dddbc7a4ee6990e8d8893d5"dependencies = ["egg","log","rand 0.9.2","thiserror 2.0.17",- "wasm-encoder",- "wasmparser 0.241.2",+ "wasm-encoder 0.242.0",+ "wasmparser 0.242.0",][[package]]name = "wasm-smith"-version = "0.241.2"+version = "0.242.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "abc9739705303f00806012b0efd117c19f4db10715a422597ac127fb956b8c69"+checksum = "de05912dc914b1b3073184acbbbe8f3d7d86dea2863f44f64a50bbf299bad86e"dependencies = ["anyhow","arbitrary","flagset","serde","serde_derive",- "wasm-encoder",+ "wasm-encoder 0.242.0","wat",]@@ -4354,14 +4376,14 @@ dependencies = [[[package]]name = "wasm-wave"-version = "0.241.2"+version = "0.242.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "7d5fdb7c75ee3647fca435cce89b51c52dfb921c5f1d4c3281fed5bbd174abeb"+checksum = "c9bd24e20927a8add1ffe45ba7b461b2b02b1c2ae30c07c908bd940113b7ff4b"dependencies = ["indexmap 2.11.4","logos","thiserror 2.0.17",- "wit-parser",+ "wit-parser 0.242.0",][[package]]@@ -4419,6 +4441,18 @@ name = "wasmparser"version = "0.241.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "46d90019b1afd4b808c263e428de644f3003691f243387d30d673211ee0cb8e8"+dependencies = [+ "bitflags 2.9.4",+ "hashbrown 0.15.2",+ "indexmap 2.11.4",+ "semver",+]++[[package]]+name = "wasmparser"+version = "0.242.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ed3c6e611f4cd748d85c767815823b777dc56afca793fcda27beae4e85028849"dependencies = ["bitflags 2.9.4","hashbrown 0.15.2",@@ -4429,13 +4463,13 @@ dependencies = [[[package]]name = "wasmprinter"-version = "0.241.2"+version = "0.242.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "68832d23d180e4b8774103c2992b48a1b4d1b62474fd5807efa2e38c7914c4e2"+checksum = "936a79bf33649f3aa0cd7cdf495e62ac0c718b3630ab53946df6dc2eff73a0d6"dependencies = ["anyhow","termcolor",- "wasmparser 0.241.2",+ "wasmparser 0.242.0",][[package]]@@ -4481,9 +4515,9 @@ dependencies = ["tempfile","tokio","wasm-compose",- "wasm-encoder",+ "wasm-encoder 0.242.0","wasm-wave",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmtime-environ","wasmtime-internal-cache","wasmtime-internal-component-macro",@@ -4594,8 +4628,8 @@ dependencies = ["tracing","walkdir","wasi-common",- "wasm-encoder",- "wasmparser 0.241.2",+ "wasm-encoder 0.242.0",+ "wasmparser 0.242.0","wasmtime","wasmtime-cli-flags","wasmtime-environ",@@ -4615,10 +4649,10 @@ dependencies = ["wasmtime-wasi-tls","wasmtime-wast","wasmtime-wizer",- "wast 241.0.2",+ "wast 242.0.0","wat","windows-sys 0.61.2",- "wit-component",+ "wit-component 0.242.0",][[package]]@@ -4659,8 +4693,8 @@ dependencies = ["serde_derive","smallvec","target-lexicon",- "wasm-encoder",- "wasmparser 0.241.2",+ "wasm-encoder 0.242.0",+ "wasmparser 0.242.0","wasmprinter","wasmtime-internal-component-util","wat",@@ -4673,7 +4707,7 @@ dependencies = ["arbitrary","env_logger 0.11.5","libfuzzer-sys",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmprinter","wasmtime-environ","wasmtime-test-util",@@ -4706,7 +4740,7 @@ dependencies = ["rand 0.9.2","smallvec","target-lexicon",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmtime","wasmtime-fuzzing","wasmtime-test-util",@@ -4731,12 +4765,12 @@ dependencies = ["target-lexicon","tempfile","v8",- "wasm-encoder",+ "wasm-encoder 0.242.0","wasm-mutate","wasm-smith","wasm-spec-interpreter","wasmi",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmprinter","wasmtime","wasmtime-cli-flags",@@ -4791,7 +4825,7 @@ dependencies = ["wasmtime","wasmtime-internal-component-util","wasmtime-internal-wit-bindgen",- "wit-parser",+ "wit-parser 0.242.0",][[package]]@@ -4817,7 +4851,7 @@ dependencies = ["smallvec","target-lexicon","thiserror 2.0.17",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmtime-environ","wasmtime-internal-math","wasmtime-internal-unwinder",@@ -4914,7 +4948,7 @@ dependencies = ["log","object 0.37.3","target-lexicon",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmtime-environ","wasmtime-internal-cranelift","winch-codegen",@@ -4928,7 +4962,7 @@ dependencies = ["bitflags 2.9.4","heck 0.5.0","indexmap 2.11.4",- "wit-parser",+ "wit-parser 0.242.0",][[package]]@@ -4962,7 +4996,7 @@ dependencies = ["serde_derive","target-lexicon","toml",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmprinter","wasmtime","wasmtime-environ",@@ -5144,9 +5178,9 @@ dependencies = ["object 0.37.3","serde_json","tokio",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmtime",- "wast 241.0.2",+ "wast 242.0.0",][[package]]@@ -5160,8 +5194,8 @@ dependencies = ["log","rayon","tokio",- "wasm-encoder",- "wasmparser 0.241.2",+ "wasm-encoder 0.242.0",+ "wasmparser 0.242.0","wasmprinter","wasmtime","wasmtime-wasi",@@ -5179,25 +5213,25 @@ dependencies = [[[package]]name = "wast"-version = "241.0.2"+version = "242.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "63f66e07e2ddf531fef6344dbf94d112df7c2f23ed6ffb10962e711500b8d816"+checksum = "50a61ae2997784a4ae2a47b3a99f7cf0ad2a54db09624a28a0c2e9d7a24408ce"dependencies = ["bumpalo","gimli 0.31.1","leb128fmt","memchr","unicode-width 0.2.0",- "wasm-encoder",+ "wasm-encoder 0.242.0",][[package]]name = "wat"-version = "1.241.2"+version = "1.242.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "45f923705c40830af909c5dec2352ec2821202e4a66008194585e1917458a26d"+checksum = "5ae8cf6adfb79b5d89cb3fe68bd56aaab9409d9cf23b588097eae7d75585dae2"dependencies = [- "wast 241.0.2",+ "wast 242.0.0",][[package]]@@ -5326,7 +5360,7 @@ dependencies = ["smallvec","target-lexicon","thiserror 2.0.17",- "wasmparser 0.241.2",+ "wasmparser 0.242.0","wasmtime-environ","wasmtime-internal-cranelift","wasmtime-internal-math",@@ -5587,7 +5621,7 @@ checksum = "a64f7435c8448e456bc6e8f14e27ee4f65926cbdfe72b7bf95badeae2501bacf"dependencies = ["anyhow","heck 0.5.0",- "wit-parser",+ "wit-parser 0.241.2",][[package]]@@ -5610,9 +5644,9 @@ dependencies = ["indexmap 2.11.4","prettyplease","syn 2.0.106",- "wasm-metadata",+ "wasm-metadata 0.241.2","wit-bindgen-core",- "wit-component",+ "wit-component 0.241.2",][[package]]@@ -5643,10 +5677,29 @@ dependencies = ["serde","serde_derive","serde_json",- "wasm-encoder",- "wasm-metadata",+ "wasm-encoder 0.241.2",+ "wasm-metadata 0.241.2","wasmparser 0.241.2",- "wit-parser",+ "wit-parser 0.241.2",+]++[[package]]+name = "wit-component"+version = "0.242.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d4e5b1fcd7a9ff7ea5ef1850673ed124a810901481b728ca9632f62ee274f856"+dependencies = [+ "anyhow",+ "bitflags 2.9.4",+ "indexmap 2.11.4",+ "log",+ "serde",+ "serde_derive",+ "serde_json",+ "wasm-encoder 0.242.0",+ "wasm-metadata 0.242.0",+ "wasmparser 0.242.0",+ "wit-parser 0.242.0",][[package]]@@ -5667,6 +5720,24 @@ dependencies = ["wasmparser 0.241.2",]+[[package]]+name = "wit-parser"+version = "0.242.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3b451c00aeb62cdc67fb52674e3920d84169e212c2dc625231beb59470a0edbd"+dependencies = [+ "anyhow",+ "id-arena",+ "indexmap 2.11.4",+ "log",+ "semver",+ "serde",+ "serde_derive",+ "serde_json",+ "unicode-xid",+ "wasmparser 0.242.0",+]+[[package]]name = "witx"version = "0.9.1"diff --git a/Cargo.toml b/Cargo.tomlindex 59070729a1..217c3b9bc4 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -337,18 +337,18 @@ wit-bindgen = { version = "0.48.0", default-features = false }wit-bindgen-rust-macro = { version = "0.48.0", default-features = false }# wasm-tools family:-wasmparser = { version = "0.241.0", default-features = false, features = ['simd'] }-wat = "1.241.0"-wast = "241.0.0"-wasmprinter = "0.241.0"-wasm-encoder = "0.241.0"-wasm-smith = "0.241.0"-wasm-mutate = "0.241.0"-wit-parser = "0.241.0"-wit-component = "0.241.0"-wasm-wave = "0.241.0"-wasm-compose = "0.241.0"-json-from-wast = "0.241.0"+wasmparser = { version = "0.242.0", default-features = false, features = ['simd'] }+wat = "1.242.0"+wast = "242.0.0"+wasmprinter = "0.242.0"+wasm-encoder = "0.242.0"+wasm-smith = "0.242.0"+wasm-mutate = "0.242.0"+wit-parser = "0.242.0"+wit-component = "0.242.0"+wasm-wave = "0.242.0"+wasm-compose = "0.242.0"+json-from-wast = "0.242.0"# Non-Bytecode Alliance maintained dependencies:# --------------------------diff --git a/crates/fuzzing/src/generators/gc_ops/ops.rs b/crates/fuzzing/src/generators/gc_ops/ops.rsindex 4933e2c36c..ecaefd3763 100644--- a/crates/fuzzing/src/generators/gc_ops/ops.rs+++ b/crates/fuzzing/src/generators/gc_ops/ops.rs@@ -109,6 +109,8 @@ impl GcOps {fields: Box::new([]),}),shared: false,+ describes: None,+ descriptor: None,},},}diff --git a/supply-chain/audits.toml b/supply-chain/audits.tomlindex 175b086e56..b8d6597eac 100644--- a/supply-chain/audits.toml+++ b/supply-chain/audits.toml@@ -2889,6 +2889,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.json-from-wast]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.leb128]]who = "Nick Fitzgerald <[email protected]>"criteria = "safe-to-deploy"@@ -4277,6 +4283,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-compose]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-coredump-builder]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4433,6 +4445,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-encoder]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-metadata]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4469,6 +4487,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-metadata]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-mutate]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -4661,6 +4685,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasm-wave]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmi]]who = "Robin Freyler <[email protected]>"criteria = "safe-to-run"@@ -4823,6 +4853,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmparser]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmparser-nostd]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-run"@@ -4954,6 +4990,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wasmprinter]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wast]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -5068,6 +5110,12 @@ criteria = "safe-to-deploy"delta = "240.0.0 -> 241.0.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wast]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "241.0.2 -> 242.0.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wat]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -5170,6 +5218,12 @@ criteria = "safe-to-deploy"delta = "1.240.0 -> 1.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wat]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "1.241.2 -> 1.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.webpki-roots]]who = "Pat Hickey <[email protected]>"criteria = "safe-to-deploy"@@ -5367,6 +5421,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-component]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-parser]]who = "Alex Crichton <[email protected]>"criteria = "safe-to-deploy"@@ -5451,6 +5511,12 @@ criteria = "safe-to-deploy"delta = "0.240.0 -> 0.241.2"notes = "The Bytecode Alliance is the author of this crate"+[[audits.wit-parser]]+who = "Alex Crichton <[email protected]>"+criteria = "safe-to-deploy"+delta = "0.241.2 -> 0.242.0"+notes = "The Bytecode Alliance is the author of this crate"+[[audits.xattr]]who = "Andrew Brown <[email protected]>"criteria = "safe-to-deploy"