Skip to content

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

Update wasm-tools/wit-bindgen crates (#14748)

Alex Crichton92e9ad2500c1
diff --git a/Cargo.lock b/Cargo.lock
index e578ea877a..637be87a70 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -570,7 +570,7 @@ dependencies = [
"test-programs-artifacts",
"tokio",
"wasm-compose",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmtime",
"wasmtime-wasi",
]
@@ -1344,7 +1344,7 @@ dependencies = [
name = "example-component-wasm"
version = "0.0.0"
dependencies = [
- "wit-bindgen 0.62.0",
+ "wit-bindgen 0.63.0",
]
[[package]]
@@ -1355,7 +1355,7 @@ version = "0.0.0"
name = "example-resource-component-wasm"
version = "0.1.0"
dependencies = [
- "wit-bindgen 0.62.0",
+ "wit-bindgen 0.63.0",
]
[[package]]
@@ -2186,14 +2186,14 @@ dependencies = [
[[package]]
name = "json-from-wast"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07be2f697959e1e392693aae1f44434cecae943bb0c3e10933378224b731c010"
+checksum = "1515408a2e3983e7db5e379fac2d0e5ad5df7890160c4d6a4f669eaf2b212833"
dependencies = [
"anyhow",
"serde",
"serde_derive",
- "wast 261.0.0",
+ "wast 262.0.0",
]
[[package]]
@@ -3781,7 +3781,7 @@ dependencies = [
"wasi-nn",
"wasip1",
"wasip2",
- "wit-bindgen 0.62.0",
+ "wit-bindgen 0.63.0",
]
[[package]]
@@ -3796,7 +3796,7 @@ dependencies = [
"wasmtime",
"wasmtime-test-util",
"wat",
- "wit-component 0.261.0",
+ "wit-component 0.262.0",
]
[[package]]
@@ -4257,7 +4257,7 @@ name = "verify-component-adapter"
version = "51.0.0-dev"
dependencies = [
"anyhow",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wat",
]
@@ -4334,8 +4334,8 @@ dependencies = [
"byte-array-literals",
"object 0.40.0",
"wasip1",
- "wasm-encoder 0.261.0",
- "wit-bindgen-rust-macro 0.62.0",
+ "wasm-encoder 0.262.0",
+ "wit-bindgen-rust-macro 0.63.0",
]
[[package]]
@@ -4364,17 +4364,17 @@ dependencies = [
[[package]]
name = "wasm-compose"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df7deb87d659b1df555d3195e3df56d1f03b73d165c5a1bc3a0bad24274ea147"
+checksum = "310f2ca84cded739b16ecf9c57631e55b8f99e23da03680e8c42a30a12fb583a"
dependencies = [
"anyhow",
"indexmap 2.14.0",
"log",
"petgraph",
"smallvec 1.15.1",
- "wasm-encoder 0.261.0",
- "wasmparser 0.261.0",
+ "wasm-encoder 0.262.0",
+ "wasmparser 0.262.0",
"wat",
]
@@ -4390,22 +4390,12 @@ dependencies = [
[[package]]
name = "wasm-encoder"
-version = "0.259.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b1d0246511d901aacf25d2dc9111f0054947de5e093fe662099e709ff7530dc3"
+checksum = "4495a6f85dd94c411c749303efcbc5defade0b0cbdbc0541495241ab917a9b5a"
dependencies = [
"leb128fmt",
- "wasmparser 0.259.0",
-]
-
-[[package]]
-name = "wasm-encoder"
-version = "0.261.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2608e8bb6d67fd68f5a8d0eb1363d6e7bcbc1f8ded5a0bd3a1e382462b876b22"
-dependencies = [
- "leb128fmt",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
]
[[package]]
@@ -4422,54 +4412,42 @@ dependencies = [
[[package]]
name = "wasm-metadata"
-version = "0.259.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e7bf119eb01f4a246864c10bd87c8f26c566350abb25aa4d5273c415bbab338"
+checksum = "c86ff6668190d9fb70372b306b4f9fe8930f0e2f57ce72e4922bf2f117900949"
dependencies = [
"anyhow",
"indexmap 2.14.0",
- "wasm-encoder 0.259.0",
- "wasmparser 0.259.0",
-]
-
-[[package]]
-name = "wasm-metadata"
-version = "0.261.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b88de21560ecd49deb8d8f1616b9b695f66fc312c5eca503f43accdc5795339e"
-dependencies = [
- "anyhow",
- "indexmap 2.14.0",
- "wasm-encoder 0.261.0",
- "wasmparser 0.261.0",
+ "wasm-encoder 0.262.0",
+ "wasmparser 0.262.0",
]
[[package]]
name = "wasm-mutate"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aa9552deaae387628faee297428a1a58a1b76d13931f594ef1a4337fc9aa3d88"
+checksum = "f150fafe16364db7c59261ec9e112445823add9602fbeec7d01610d3af9430e2"
dependencies = [
"egg",
"log",
"rand 0.10.1",
"thiserror 2.0.17",
- "wasm-encoder 0.261.0",
- "wasmparser 0.261.0",
+ "wasm-encoder 0.262.0",
+ "wasmparser 0.262.0",
]
[[package]]
name = "wasm-smith"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62b25880fd539272f995efa87235c61a4c36c7e87a5624601ac0c06d6dc25f9a"
+checksum = "d59ba1915172128cdc0ef870cae157e539882a9605e591ef36d0d2e9cbb73505"
dependencies = [
"anyhow",
"arbitrary",
"flagset",
"serde",
"serde_derive",
- "wasm-encoder 0.261.0",
+ "wasm-encoder 0.262.0",
"wat",
]
@@ -4483,14 +4461,14 @@ dependencies = [
[[package]]
name = "wasm-wave"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2c3077ed029568755b5d3557bc27688360f7daa19cb182aa32ff2a1035c818d0"
+checksum = "9290c2d9b4528528199374292c051d5b3d4d401e464a90235da45d78f42f00a2"
dependencies = [
"anyhow",
"logos",
"thiserror 2.0.17",
- "wit-parser 0.261.0",
+ "wit-parser 0.262.0",
]
[[package]]
@@ -4557,21 +4535,9 @@ dependencies = [
[[package]]
name = "wasmparser"
-version = "0.259.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f7c12eac7bb587801590f6a67ff0bc84d0748513864b71108e4b311cc3df694"
-dependencies = [
- "bitflags 2.11.1",
- "hashbrown 0.17.0",
- "indexmap 2.14.0",
- "semver",
-]
-
-[[package]]
-name = "wasmparser"
-version = "0.261.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4f20f20e44f7e8aeb6744823ea9d869ede51e51be4fdaedede2852282e54d2d8"
+checksum = "974d643b125b272607e2fff8012ea14a8328acd7621e4bafa7afb32500052b1b"
dependencies = [
"bitflags 2.11.1",
"hashbrown 0.17.0",
@@ -4582,13 +4548,13 @@ dependencies = [
[[package]]
name = "wasmprinter"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86a21c9e3325655ba02de3e645bc8357a8b3651a2e3ada25b6dbc37560deb9b7"
+checksum = "3232d77b0187af27c1eb54c3f368cc51b3f899e58637ec9f52d47201f75d4d04"
dependencies = [
"anyhow",
"termcolor",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
]
[[package]]
@@ -4630,9 +4596,9 @@ dependencies = [
"tempfile",
"tokio",
"wasm-compose",
- "wasm-encoder 0.261.0",
+ "wasm-encoder 0.262.0",
"wasm-wave",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmtime-environ",
"wasmtime-internal-cache",
"wasmtime-internal-component-macro",
@@ -4649,7 +4615,7 @@ dependencies = [
"wasmtime-test-util",
"wat",
"windows-sys 0.61.2",
- "wit-parser 0.261.0",
+ "wit-parser 0.262.0",
]
[[package]]
@@ -4741,8 +4707,8 @@ dependencies = [
"toml",
"tracing",
"walkdir",
- "wasm-encoder 0.261.0",
- "wasmparser 0.261.0",
+ "wasm-encoder 0.262.0",
+ "wasmparser 0.262.0",
"wasmprinter",
"wasmtime",
"wasmtime-cli-flags",
@@ -4764,10 +4730,10 @@ dependencies = [
"wasmtime-wasi-tls",
"wasmtime-wast",
"wasmtime-wizer",
- "wast 261.0.0",
+ "wast 262.0.0",
"wat",
"windows-sys 0.61.2",
- "wit-component 0.261.0",
+ "wit-component 0.262.0",
]
[[package]]
@@ -4811,8 +4777,8 @@ dependencies = [
"sha2",
"smallvec 1.15.1",
"target-lexicon 0.13.5",
- "wasm-encoder 0.261.0",
- "wasmparser 0.261.0",
+ "wasm-encoder 0.262.0",
+ "wasmparser 0.262.0",
"wasmprinter",
"wasmtime-internal-component-util",
"wasmtime-internal-core",
@@ -4826,7 +4792,7 @@ dependencies = [
"arbitrary",
"env_logger 0.11.5",
"libfuzzer-sys",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmprinter",
"wasmtime-environ",
"wasmtime-test-util",
@@ -4858,7 +4824,7 @@ dependencies = [
"rand 0.10.1",
"smallvec 1.15.1",
"target-lexicon 0.13.5",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmtime",
"wasmtime-fuzzing",
"wasmtime-internal-core",
@@ -4886,12 +4852,12 @@ dependencies = [
"tempfile",
"tokio",
"v8",
- "wasm-encoder 0.261.0",
+ "wasm-encoder 0.262.0",
"wasm-mutate",
"wasm-smith",
"wasm-spec-interpreter",
"wasmi",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmprinter",
"wasmtime",
"wasmtime-cli-flags",
@@ -4948,7 +4914,7 @@ dependencies = [
"wasmtime",
"wasmtime-internal-component-util",
"wasmtime-internal-wit-bindgen",
- "wit-parser 0.261.0",
+ "wit-parser 0.262.0",
]
[[package]]
@@ -4982,7 +4948,7 @@ dependencies = [
"smallvec 1.15.1",
"target-lexicon 0.13.5",
"thiserror 2.0.17",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmtime-environ",
"wasmtime-internal-core",
"wasmtime-internal-unwinder",
@@ -5043,7 +5009,7 @@ dependencies = [
"gdbstub_arch",
"log",
"wasip2",
- "wit-bindgen 0.62.0",
+ "wit-bindgen 0.63.0",
"wstd",
]
@@ -5101,7 +5067,7 @@ dependencies = [
"log",
"object 0.40.0",
"target-lexicon 0.13.5",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmtime-environ",
"wasmtime-internal-cranelift",
"winch-codegen",
@@ -5115,8 +5081,8 @@ dependencies = [
"bitflags 2.11.1",
"heck",
"indexmap 2.14.0",
- "wit-component 0.261.0",
- "wit-parser 0.261.0",
+ "wit-component 0.262.0",
+ "wit-parser 0.262.0",
]
[[package]]
@@ -5160,7 +5126,7 @@ dependencies = [
"serde_derive",
"target-lexicon 0.13.5",
"toml",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmprinter",
"wasmtime",
"wasmtime-environ",
@@ -5308,9 +5274,9 @@ dependencies = [
"object 0.40.0",
"serde_json",
"tokio",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmtime",
- "wast 261.0.0",
+ "wast 262.0.0",
]
[[package]]
@@ -5324,8 +5290,8 @@ dependencies = [
"rayon",
"test-programs-artifacts",
"tokio",
- "wasm-encoder 0.261.0",
- "wasmparser 0.261.0",
+ "wasm-encoder 0.262.0",
+ "wasmparser 0.262.0",
"wasmprinter",
"wasmtime",
"wasmtime-wasi",
@@ -5343,25 +5309,25 @@ dependencies = [
[[package]]
name = "wast"
-version = "261.0.0"
+version = "262.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "776443145731a4062e5b0d392892a2005909b6ab72d9fdc3cad53dd1a714e44a"
+checksum = "30612a0c29249b5f185888a107e8a519d920226b7d07f9d351fd094e9f75eb23"
dependencies = [
"bumpalo",
"gimli 0.34.0",
"leb128fmt",
"memchr",
"unicode-width 0.2.0",
- "wasm-encoder 0.261.0",
+ "wasm-encoder 0.262.0",
]
[[package]]
name = "wat"
-version = "1.261.0"
+version = "1.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7b4d1a49ea73a8f3326e74e3a05db667001b16bd1035ed3356fc1a0ed05ca7f"
+checksum = "e228027f2b07bbaf946980ebbe2437fca73be6f54c40c2a8d4f42f277075f8d1"
dependencies = [
- "wast 261.0.0",
+ "wast 262.0.0",
]
[[package]]
@@ -5488,7 +5454,7 @@ dependencies = [
"smallvec 1.15.1",
"target-lexicon 0.13.5",
"thiserror 2.0.17",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
"wasmtime-environ",
"wasmtime-internal-core",
"wasmtime-internal-cranelift",
@@ -5660,13 +5626,13 @@ dependencies = [
[[package]]
name = "wit-bindgen"
-version = "0.62.0"
+version = "0.63.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53cb4b5556c3a791e86838ea287782bdafa704d55b0e68b5b81a3a16b9ea5f4b"
+checksum = "b85a987ab61d365382d25c7d47e26edd48941b3bf6e3fbf76eff918bc71dab06"
dependencies = [
"bitflags 2.11.1",
"futures",
- "wit-bindgen-rust-macro 0.62.0",
+ "wit-bindgen-rust-macro 0.63.0",
]
[[package]]
@@ -5682,13 +5648,13 @@ dependencies = [
[[package]]
name = "wit-bindgen-core"
-version = "0.62.0"
+version = "0.63.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "72ad22a37ecbc0e1fdca34d2b670ba41368cb0920735643e00fdf39a16ee5431"
+checksum = "775e122e390603abfacd548027016cd0113a6e2bf2f8ce6bdd3658b013456ea8"
dependencies = [
"anyhow",
"heck",
- "wit-parser 0.259.0",
+ "wit-parser 0.262.0",
]
[[package]]
@@ -5718,18 +5684,18 @@ dependencies = [
[[package]]
name = "wit-bindgen-rust"
-version = "0.62.0"
+version = "0.63.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "84ba5213d4332c260a0d4e69e34b0f7e4b85ddae10b6ebfbac00d9c185ba628a"
+checksum = "84e26e13b9d972026778d2ffb7985736de116026fdc8d9464f966e12df2eb240"
dependencies = [
"anyhow",
"heck",
"indexmap 2.14.0",
"prettyplease 0.3.0",
"syn 3.0.5",
- "wasm-metadata 0.259.0",
- "wit-bindgen-core 0.62.0",
- "wit-component 0.259.0",
+ "wasm-metadata 0.262.0",
+ "wit-bindgen-core 0.63.0",
+ "wit-component 0.262.0",
]
[[package]]
@@ -5749,9 +5715,9 @@ dependencies = [
[[package]]
name = "wit-bindgen-rust-macro"
-version = "0.62.0"
+version = "0.63.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f19d63da8e478a370ef8192d90ccb517965b7747d6b46cd2d831dd0ef4d2541"
+checksum = "16a008a0d6b4840677326beb4edbeb210a2f1b7d0183fb7cc33f466b90fd7fb6"
dependencies = [
"anyhow",
"macro-string",
@@ -5759,8 +5725,8 @@ dependencies = [
"proc-macro2",
"quote",
"syn 3.0.5",
- "wit-bindgen-core 0.62.0",
- "wit-bindgen-rust 0.62.0",
+ "wit-bindgen-core 0.63.0",
+ "wit-bindgen-rust 0.63.0",
]
[[package]]
@@ -5784,28 +5750,9 @@ dependencies = [
[[package]]
name = "wit-component"
-version = "0.259.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "092f783dee3253265fcde131475055f8c275ac0176a9c0396db1dc7b5544bfb4"
-dependencies = [
- "anyhow",
- "bitflags 2.11.1",
- "indexmap 2.14.0",
- "log",
- "serde",
- "serde_derive",
- "serde_json",
- "wasm-encoder 0.259.0",
- "wasm-metadata 0.259.0",
- "wasmparser 0.259.0",
- "wit-parser 0.259.0",
-]
-
-[[package]]
-name = "wit-component"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2818766842bd2321074c348fb5c15d8fdb105a9eb78374e6d77c7d4127e1f2f9"
+checksum = "078def49fdb49cab405c3006e05793b3fdaf7069126ba6b9c97d01ec8c98fe4c"
dependencies = [
"anyhow",
"bitflags 2.11.1",
@@ -5814,10 +5761,10 @@ dependencies = [
"serde",
"serde_derive",
"serde_json",
- "wasm-encoder 0.261.0",
- "wasm-metadata 0.261.0",
- "wasmparser 0.261.0",
- "wit-parser 0.261.0",
+ "wasm-encoder 0.262.0",
+ "wasm-metadata 0.262.0",
+ "wasmparser 0.262.0",
+ "wit-parser 0.262.0",
]
[[package]]
@@ -5840,28 +5787,9 @@ dependencies = [
[[package]]
name = "wit-parser"
-version = "0.259.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6390f4f02493ce678d509c859cf1698e38929fb75c8012a6ee2f7d6b6cb66cd7"
-dependencies = [
- "anyhow",
- "hashbrown 0.17.0",
- "id-arena",
- "indexmap 2.14.0",
- "log",
- "semver",
- "serde",
- "serde_derive",
- "serde_json",
- "unicode-ident",
- "wasmparser 0.259.0",
-]
-
-[[package]]
-name = "wit-parser"
-version = "0.261.0"
+version = "0.262.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "962e43c4db2da607b50839a531e5b63473268b40efdf8028d5c54b572ca4f6f6"
+checksum = "00f0dc051466ffe46787721fca3d088536f158ae400be044f1b1c386ba9397ad"
dependencies = [
"anyhow",
"hashbrown 0.17.0",
@@ -5873,7 +5801,7 @@ dependencies = [
"serde_derive",
"serde_json",
"unicode-ident",
- "wasmparser 0.261.0",
+ "wasmparser 0.262.0",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index e5482b98d2..ca365dec5a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -366,22 +366,22 @@ wasip1 = { version = "1.0.0", default-features = false }
target-lexicon = "0.13.5"
rustix = "1.1.4"
# wit-bindgen:
-wit-bindgen = { version = "0.62.0", default-features = false }
-wit-bindgen-rust-macro = { version = "0.62.0", default-features = false }
+wit-bindgen = { version = "0.63.0", default-features = false }
+wit-bindgen-rust-macro = { version = "0.63.0", default-features = false }
# wasm-tools family:
-wasmparser = { version = "0.261.0", default-features = false, features = ['simd'] }
-wat = "1.261.0"
-wast = "261.0.0"
-wasmprinter = "0.261.0"
-wasm-encoder = "0.261.0"
-wasm-smith = "0.261.0"
-wasm-mutate = "0.261.0"
-wit-parser = "0.261.0"
-wit-component = "0.261.0"
-wasm-wave = "0.261.0"
-wasm-compose = { version = "0.261.0", default-features = false }
-json-from-wast = "0.261.0"
+wasmparser = { version = "0.262.0", default-features = false, features = ['simd'] }
+wat = "1.262.0"
+wast = "262.0.0"
+wasmprinter = "0.262.0"
+wasm-encoder = "0.262.0"
+wasm-smith = "0.262.0"
+wasm-mutate = "0.262.0"
+wit-parser = "0.262.0"
+wit-component = "0.262.0"
+wasm-wave = "0.262.0"
+wasm-compose = { version = "0.262.0", default-features = false }
+json-from-wast = "0.262.0"
wstd = "0.6.5"
wasip2 = "1.0"
diff --git a/crates/environ/src/compile/module_environ.rs b/crates/environ/src/compile/module_environ.rs
index 145abd34e6..27003f4123 100644
--- a/crates/environ/src/compile/module_environ.rs
+++ b/crates/environ/src/compile/module_environ.rs
@@ -825,11 +825,15 @@ impl<'a, 'data> ModuleEnvironment<'a, 'data> {
}
}
- Payload::CodeSectionStart { count, range, .. } => {
- self.validator.code_section_start(&range)?;
+ Payload::CodeSectionStart {
+ count,
+ unchecked_range,
+ ..
+ } => {
+ self.validator.code_section_start(&unchecked_range)?;
let cnt = usize::try_from(count).unwrap();
self.result.function_body_inputs.reserve_exact(cnt);
- self.result.debuginfo.wasm_file.code_section_offset = range.start;
+ self.result.debuginfo.wasm_file.code_section_offset = unchecked_range.start;
}
Payload::CodeSectionEntry(body) => {
diff --git a/crates/environ/src/component/translate.rs b/crates/environ/src/component/translate.rs
index 8654925ec1..80c45387f4 100644
--- a/crates/environ/src/component/translate.rs
+++ b/crates/environ/src/component/translate.rs
@@ -1829,10 +1829,6 @@ impl<'a, 'data> Translator<'a, 'data> {
instance_ty.defined_resources.is_empty(),
"bad unsafe intrinsics import: import `{import}` cannot define any resources"
);
- ensure!(
- instance_ty.explicit_resources.is_empty(),
- "bad unsafe intrinsics import: import `{import}` cannot export any resources"
- );
for (name, ty) in &instance_ty.exports {
let ComponentEntityType::Func(func_ty) = ty.ty else {
diff --git a/crates/test-programs/src/bin/async_closed_streams.rs b/crates/test-programs/src/bin/async_closed_streams.rs
index 05ff23b2b4..64c9dbca1c 100644
--- a/crates/test-programs/src/bin/async_closed_streams.rs
+++ b/crates/test-programs/src/bin/async_closed_streams.rs
@@ -2,7 +2,6 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "closed-streams",
- async: true,
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_poll_synchronous.rs b/crates/test-programs/src/bin/async_poll_synchronous.rs
index c00943bdc8..78d8e29c31 100644
--- a/crates/test-programs/src/bin/async_poll_synchronous.rs
+++ b/crates/test-programs/src/bin/async_poll_synchronous.rs
@@ -2,7 +2,7 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "poll",
- async: false,
+ sync: true,
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_round_trip_many_stackless.rs b/crates/test-programs/src/bin/async_round_trip_many_stackless.rs
index 7cbf13c418..0553a6e7b2 100644
--- a/crates/test-programs/src/bin/async_round_trip_many_stackless.rs
+++ b/crates/test-programs/src/bin/async_round_trip_many_stackless.rs
@@ -2,7 +2,6 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "round-trip-many",
- async: true,
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_round_trip_many_synchronous.rs b/crates/test-programs/src/bin/async_round_trip_many_synchronous.rs
index db06b84e84..f37d38cb6b 100644
--- a/crates/test-programs/src/bin/async_round_trip_many_synchronous.rs
+++ b/crates/test-programs/src/bin/async_round_trip_many_synchronous.rs
@@ -2,7 +2,7 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "round-trip-many",
- async: false,
+ sync: true,
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_round_trip_many_wait.rs b/crates/test-programs/src/bin/async_round_trip_many_wait.rs
index 6e8277ca51..ad681895ec 100644
--- a/crates/test-programs/src/bin/async_round_trip_many_wait.rs
+++ b/crates/test-programs/src/bin/async_round_trip_many_wait.rs
@@ -2,7 +2,7 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "round-trip-many",
- async: ["-export:local:local/many#foo"],
+ sync: ["export:local:local/many#foo"],
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_round_trip_stackless.rs b/crates/test-programs/src/bin/async_round_trip_stackless.rs
index 94653b7c14..7124c397b4 100644
--- a/crates/test-programs/src/bin/async_round_trip_stackless.rs
+++ b/crates/test-programs/src/bin/async_round_trip_stackless.rs
@@ -2,7 +2,6 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "round-trip",
- async: true,
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_round_trip_stackless_sync_import.rs b/crates/test-programs/src/bin/async_round_trip_stackless_sync_import.rs
index 0555ea3497..ee8f18b00d 100644
--- a/crates/test-programs/src/bin/async_round_trip_stackless_sync_import.rs
+++ b/crates/test-programs/src/bin/async_round_trip_stackless_sync_import.rs
@@ -2,7 +2,7 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "round-trip",
- async: ["-import:local:local/baz#foo"],
+ sync: ["import:local:local/baz#foo"],
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_round_trip_synchronous.rs b/crates/test-programs/src/bin/async_round_trip_synchronous.rs
index 98fe60a22b..fca2a9035c 100644
--- a/crates/test-programs/src/bin/async_round_trip_synchronous.rs
+++ b/crates/test-programs/src/bin/async_round_trip_synchronous.rs
@@ -2,7 +2,7 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "round-trip",
- async: false,
+ sync: true,
});
use super::Component;
diff --git a/crates/test-programs/src/bin/async_round_trip_wait.rs b/crates/test-programs/src/bin/async_round_trip_wait.rs
index cb1d24534c..d0cf81f2e2 100644
--- a/crates/test-programs/src/bin/async_round_trip_wait.rs
+++ b/crates/test-programs/src/bin/async_round_trip_wait.rs
@@ -2,7 +2,7 @@ mod bindings {
wit_bindgen::generate!({
path: "../misc/component-async-tests/wit",
world: "round-trip",
- async: ["-export:local:local/baz#foo"],
+ sync: ["export:local:local/baz#foo"],
});
use super::Component;
diff --git a/supply-chain/imports.lock b/supply-chain/imports.lock
index 4aa56d89ab..d66970693e 100644
--- a/supply-chain/imports.lock
+++ b/supply-chain/imports.lock
@@ -1146,8 +1146,8 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"
[[publisher.json-from-wast]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.libc]]
@@ -1633,8 +1633,8 @@ user-login = "alexcrichton"
user-name = "Alex Crichton"
[[publisher.wasm-compose]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-encoder]]
@@ -1643,13 +1643,8 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-encoder]]
-version = "0.259.0"
-when = "2026-09-10"
-trusted-publisher = "github:bytecodealliance/wasm-tools"
-
-[[publisher.wasm-encoder]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-metadata]]
@@ -1659,18 +1654,13 @@ user-id = 73222
user-login = "wasmtime-publish"
[[publisher.wasm-metadata]]
-version = "0.259.0"
-when = "2026-09-10"
-trusted-publisher = "github:bytecodealliance/wasm-tools"
-
-[[publisher.wasm-metadata]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasm-wave]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmparser]]
@@ -1679,18 +1669,13 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmparser]]
-version = "0.259.0"
-when = "2026-09-10"
-trusted-publisher = "github:bytecodealliance/wasm-tools"
-
-[[publisher.wasmparser]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmprinter]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wasmtime]]
@@ -1844,13 +1829,13 @@ when = "2026-10-02"
trusted-publisher = "github:bytecodealliance/wasmtime"
[[publisher.wast]]
-version = "261.0.0"
-when = "2026-10-02"
+version = "262.0.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wat]]
-version = "1.261.0"
-when = "2026-10-02"
+version = "1.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wiggle]]
@@ -2018,8 +2003,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-bindgen]]
-version = "0.62.0"
-when = "2026-09-10"
+version = "0.63.0"
+when = "2026-10-14"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-bindgen-core]]
@@ -2028,8 +2013,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-bindgen-core]]
-version = "0.62.0"
-when = "2026-09-10"
+version = "0.63.0"
+when = "2026-10-14"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-bindgen-rt]]
@@ -2044,8 +2029,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-bindgen-rust]]
-version = "0.62.0"
-when = "2026-09-10"
+version = "0.63.0"
+when = "2026-10-14"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-bindgen-rust-macro]]
@@ -2054,8 +2039,8 @@ when = "2026-01-12"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-bindgen-rust-macro]]
-version = "0.62.0"
-when = "2026-09-10"
+version = "0.63.0"
+when = "2026-10-14"
trusted-publisher = "github:bytecodealliance/wit-bindgen"
[[publisher.wit-component]]
@@ -2064,13 +2049,8 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wit-component]]
-version = "0.259.0"
-when = "2026-09-10"
-trusted-publisher = "github:bytecodealliance/wasm-tools"
-
-[[publisher.wit-component]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wit-parser]]
@@ -2079,13 +2059,8 @@ when = "2026-01-06"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.wit-parser]]
-version = "0.259.0"
-when = "2026-09-10"
-trusted-publisher = "github:bytecodealliance/wasm-tools"
-
-[[publisher.wit-parser]]
-version = "0.261.0"
-when = "2026-10-02"
+version = "0.262.0"
+when = "2026-10-13"
trusted-publisher = "github:bytecodealliance/wasm-tools"
[[publisher.witx]]