Skip to content

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

Update wasm-tools dependencies (#12254)

Alex Crichtone63dd69f8c40
diff --git a/Cargo.lock b/Cargo.lock
index ac6bfaaf27..17a6f0809f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -640,7 +640,7 @@ dependencies = [
"test-programs-artifacts",
"tokio",
"wasm-compose",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmtime",
"wasmtime-wasi",
]
@@ -2162,14 +2162,14 @@ dependencies = [
[[package]]
name = "json-from-wast"
-version = "0.243.0"
+version = "0.244.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5f47aa6916e07fa82816d3b845e41828be0670f81466ae5ed84a595f8f762d6b"
+checksum = "b06196ab44f5dd4ebb2f6ede775d5c4db4500e7978218ccd47cb9cf4d440da5b"
dependencies = [
"anyhow",
"serde",
"serde_derive",
- "wast 243.0.0",
+ "wast 244.0.0",
]
[[package]]
@@ -3689,7 +3689,7 @@ dependencies = [
"wasmtime",
"wasmtime-test-util",
"wat",
- "wit-component",
+ "wit-component 0.244.0",
]
[[package]]
@@ -4143,7 +4143,7 @@ name = "verify-component-adapter"
version = "42.0.0"
dependencies = [
"anyhow",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wat",
]
@@ -4245,7 +4245,7 @@ dependencies = [
"byte-array-literals",
"object 0.37.3",
"wasip1",
- "wasm-encoder",
+ "wasm-encoder 0.244.0",
"wit-bindgen-rust-macro",
]
@@ -4321,9 +4321,9 @@ checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49"
[[package]]
name = "wasm-compose"
-version = "0.243.0"
+version = "0.244.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "af801b6f36459023eaec63fdbaedad2fd5a4ab7dc74ecc110a8b5d375c5775e4"
+checksum = "92cda9c76ca8dcac01a8b497860c2cb15cd6f216dc07060517df5abbe82512ac"
dependencies = [
"anyhow",
"heck 0.5.0",
@@ -4335,8 +4335,8 @@ dependencies = [
"serde_derive",
"serde_yaml",
"smallvec 1.15.1",
- "wasm-encoder",
- "wasmparser 0.243.0",
+ "wasm-encoder 0.244.0",
+ "wasmparser 0.244.0",
"wat",
]
@@ -4350,6 +4350,16 @@ dependencies = [
"wasmparser 0.243.0",
]
+[[package]]
+name = "wasm-encoder"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319"
+dependencies = [
+ "leb128fmt",
+ "wasmparser 0.244.0",
+]
+
[[package]]
name = "wasm-metadata"
version = "0.243.0"
@@ -4358,36 +4368,48 @@ checksum = "eae05bf9579f45a62e8d0a4e3f52eaa8da518883ac5afa482ec8256c329ecd56"
dependencies = [
"anyhow",
"indexmap 2.11.4",
- "wasm-encoder",
+ "wasm-encoder 0.243.0",
"wasmparser 0.243.0",
]
+[[package]]
+name = "wasm-metadata"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
+dependencies = [
+ "anyhow",
+ "indexmap 2.11.4",
+ "wasm-encoder 0.244.0",
+ "wasmparser 0.244.0",
+]
+
[[package]]
name = "wasm-mutate"
-version = "0.243.0"
+version = "0.244.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f56c94870d1398b2f01e7cd7c44efd9f557e9baaf306f0d246b6b9c862c22b8a"
+checksum = "2a518c14c99f3230d5b2abd06519f3867d64c64744b13fde29ac68d42d1ec20c"
dependencies = [
"egg",
"log",
"rand 0.9.2",
"thiserror 2.0.17",
- "wasm-encoder",
- "wasmparser 0.243.0",
+ "wasm-encoder 0.244.0",
+ "wasmparser 0.244.0",
]
[[package]]
name = "wasm-smith"
-version = "0.243.0"
+version = "0.244.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "119b7dd7690868543d344025ee894271d9c66fa00d5c1cd233a5c72eb7a2ea03"
+checksum = "c8f72462e1ee97c48da6f599c7e47064dbab12bfee7b4fad278de4973ba72fd8"
dependencies = [
"anyhow",
"arbitrary",
"flagset",
"serde",
"serde_derive",
- "wasm-encoder",
+ "wasm-encoder 0.244.0",
"wat",
]
@@ -4401,14 +4423,13 @@ dependencies = [
[[package]]
name = "wasm-wave"
-version = "0.243.0"
+version = "0.244.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4bd23c879ec35d708f4eff3456f33c415d113363a2e38420098bf42976bacb31"
+checksum = "d1c34a4c10a1b9260f8131929d680e36edf00836bb8e76524d3004522bd6f287"
dependencies = [
- "indexmap 2.11.4",
"logos",
"thiserror 2.0.17",
- "wit-parser",
+ "wit-parser 0.244.0",
]
[[package]]
@@ -4466,6 +4487,18 @@ name = "wasmparser"
version = "0.243.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6d8db401b0528ec316dfbe579e6ab4152d61739cfe076706d2009127970159d"
+dependencies = [
+ "bitflags 2.9.4",
+ "hashbrown 0.15.2",
+ "indexmap 2.11.4",
+ "semver",
+]
+
+[[package]]
+name = "wasmparser"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
dependencies = [
"bitflags 2.9.4",
"hashbrown 0.15.2",
@@ -4476,13 +4509,13 @@ dependencies = [
[[package]]
name = "wasmprinter"
-version = "0.243.0"
+version = "0.244.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb2b6035559e146114c29a909a3232928ee488d6507a1504d8934e8607b36d7b"
+checksum = "09390d7b2bd7b938e563e4bff10aa345ef2e27a3bc99135697514ef54495e68f"
dependencies = [
"anyhow",
"termcolor",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
]
[[package]]
@@ -4527,9 +4560,9 @@ dependencies = [
"tempfile",
"tokio",
"wasm-compose",
- "wasm-encoder",
+ "wasm-encoder 0.244.0",
"wasm-wave",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmtime-environ",
"wasmtime-internal-cache",
"wasmtime-internal-component-macro",
@@ -4641,8 +4674,8 @@ dependencies = [
"tracing",
"walkdir",
"wasi-common",
- "wasm-encoder",
- "wasmparser 0.243.0",
+ "wasm-encoder 0.244.0",
+ "wasmparser 0.244.0",
"wasmtime",
"wasmtime-cli-flags",
"wasmtime-environ",
@@ -4662,10 +4695,10 @@ dependencies = [
"wasmtime-wasi-tls",
"wasmtime-wast",
"wasmtime-wizer",
- "wast 243.0.0",
+ "wast 244.0.0",
"wat",
"windows-sys 0.61.2",
- "wit-component",
+ "wit-component 0.244.0",
]
[[package]]
@@ -4706,8 +4739,8 @@ dependencies = [
"serde_derive",
"smallvec 1.15.1",
"target-lexicon",
- "wasm-encoder",
- "wasmparser 0.243.0",
+ "wasm-encoder 0.244.0",
+ "wasmparser 0.244.0",
"wasmprinter",
"wasmtime-internal-component-util",
"wat",
@@ -4720,7 +4753,7 @@ dependencies = [
"arbitrary",
"env_logger 0.11.5",
"libfuzzer-sys",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmprinter",
"wasmtime-environ",
"wasmtime-test-util",
@@ -4753,7 +4786,7 @@ dependencies = [
"rand 0.9.2",
"smallvec 1.15.1",
"target-lexicon",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmtime",
"wasmtime-fuzzing",
"wasmtime-test-util",
@@ -4781,12 +4814,12 @@ dependencies = [
"test-programs-artifacts",
"v8",
"wasm-compose",
- "wasm-encoder",
+ "wasm-encoder 0.244.0",
"wasm-mutate",
"wasm-smith",
"wasm-spec-interpreter",
"wasmi",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmprinter",
"wasmtime",
"wasmtime-cli-flags",
@@ -4843,7 +4876,7 @@ dependencies = [
"wasmtime",
"wasmtime-internal-component-util",
"wasmtime-internal-wit-bindgen",
- "wit-parser",
+ "wit-parser 0.244.0",
]
[[package]]
@@ -4868,7 +4901,7 @@ dependencies = [
"smallvec 1.15.1",
"target-lexicon",
"thiserror 2.0.17",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmtime-environ",
"wasmtime-internal-math",
"wasmtime-internal-unwinder",
@@ -4982,7 +5015,7 @@ dependencies = [
"log",
"object 0.37.3",
"target-lexicon",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmtime-environ",
"wasmtime-internal-cranelift",
"winch-codegen",
@@ -4996,7 +5029,7 @@ dependencies = [
"bitflags 2.9.4",
"heck 0.5.0",
"indexmap 2.11.4",
- "wit-parser",
+ "wit-parser 0.244.0",
]
[[package]]
@@ -5030,7 +5063,7 @@ dependencies = [
"serde_derive",
"target-lexicon",
"toml",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmprinter",
"wasmtime",
"wasmtime-environ",
@@ -5212,9 +5245,9 @@ dependencies = [
"object 0.37.3",
"serde_json",
"tokio",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmtime",
- "wast 243.0.0",
+ "wast 244.0.0",
]
[[package]]
@@ -5228,8 +5261,8 @@ dependencies = [
"log",
"rayon",
"tokio",
- "wasm-encoder",
- "wasmparser 0.243.0",
+ "wasm-encoder 0.244.0",
+ "wasmparser 0.244.0",
"wasmprinter",
"wasmtime",
"wasmtime-wasi",
@@ -5247,25 +5280,25 @@ dependencies = [
[[package]]
name = "wast"
-version = "243.0.0"
+version = "244.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "df21d01c2d91e46cb7a221d79e58a2d210ea02020d57c092e79255cc2999ca7f"
+checksum = "b2e7b9f9e23311275920e3d6b56d64137c160cf8af4f84a7283b36cfecbf4acb"
dependencies = [
"bumpalo",
"gimli 0.31.1",
"leb128fmt",
"memchr",
"unicode-width 0.2.0",
- "wasm-encoder",
+ "wasm-encoder 0.244.0",
]
[[package]]
name = "wat"
-version = "1.243.0"
+version = "1.244.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "226a9a91cd80a50449312fef0c75c23478fcecfcc4092bdebe1dc8e760ef521b"
+checksum = "bbf35b87ed352f9ab6cd0732abde5a67dd6153dfd02c493e61459218b19456fa"
dependencies = [
- "wast 243.0.0",
+ "wast 244.0.0",
]
[[package]]
@@ -5393,7 +5426,7 @@ dependencies = [
"smallvec 1.15.1",
"target-lexicon",
"thiserror 2.0.17",
- "wasmparser 0.243.0",
+ "wasmparser 0.244.0",
"wasmtime-environ",
"wasmtime-internal-cranelift",
"wasmtime-internal-math",
@@ -5654,7 +5687,7 @@ checksum = "6ee98d5747ec63897e51101c8cafad569cc639346332c0378772ef4baeea8ed2"
dependencies = [
"anyhow",
"heck 0.5.0",
- "wit-parser",
+ "wit-parser 0.243.0",
]
[[package]]
@@ -5677,9 +5710,9 @@ dependencies = [
"indexmap 2.11.4",
"prettyplease",
"syn 2.0.106",
- "wasm-metadata",
+ "wasm-metadata 0.243.0",
"wit-bindgen-core",
- "wit-component",
+ "wit-component 0.243.0",
]
[[package]]
@@ -5710,10 +5743,29 @@ dependencies = [
"serde",
"serde_derive",
"serde_json",
- "wasm-encoder",
- "wasm-metadata",
+ "wasm-encoder 0.243.0",
+ "wasm-metadata 0.243.0",
"wasmparser 0.243.0",
- "wit-parser",
+ "wit-parser 0.243.0",
+]
+
+[[package]]
+name = "wit-component"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
+dependencies = [
+ "anyhow",
+ "bitflags 2.9.4",
+ "indexmap 2.11.4",
+ "log",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "wasm-encoder 0.244.0",
+ "wasm-metadata 0.244.0",
+ "wasmparser 0.244.0",
+ "wit-parser 0.244.0",
]
[[package]]
@@ -5734,6 +5786,24 @@ dependencies = [
"wasmparser 0.243.0",
]
+[[package]]
+name = "wit-parser"
+version = "0.244.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
+dependencies = [
+ "anyhow",
+ "id-arena",
+ "indexmap 2.11.4",
+ "log",
+ "semver",
+ "serde",
+ "serde_derive",
+ "serde_json",
+ "unicode-xid",
+ "wasmparser 0.244.0",
+]
+
[[package]]
name = "witx"
version = "0.9.1"
diff --git a/Cargo.toml b/Cargo.toml
index bfdf50d019..cc88ee4189 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -343,18 +343,18 @@ wit-bindgen = { version = "0.50.0", default-features = false }
wit-bindgen-rust-macro = { version = "0.50.0", default-features = false }
# wasm-tools family:
-wasmparser = { version = "0.243.0", default-features = false, features = ['simd'] }
-wat = "1.243.0"
-wast = "243.0.0"
-wasmprinter = "0.243.0"
-wasm-encoder = "0.243.0"
-wasm-smith = "0.243.0"
-wasm-mutate = "0.243.0"
-wit-parser = "0.243.0"
-wit-component = "0.243.0"
-wasm-wave = "0.243.0"
-wasm-compose = "0.243.0"
-json-from-wast = "0.243.0"
+wasmparser = { version = "0.244.0", default-features = false, features = ['simd'] }
+wat = "1.244.0"
+wast = "244.0.0"
+wasmprinter = "0.244.0"
+wasm-encoder = "0.244.0"
+wasm-smith = "0.244.0"
+wasm-mutate = "0.244.0"
+wit-parser = "0.244.0"
+wit-component = "0.244.0"
+wasm-wave = "0.244.0"
+wasm-compose = "0.244.0"
+json-from-wast = "0.244.0"
# Non-Bytecode Alliance maintained dependencies:
# --------------------------
diff --git a/crates/environ/src/compile/module_environ.rs b/crates/environ/src/compile/module_environ.rs
index a2c6640f74..9b2733f515 100644
--- a/crates/environ/src/compile/module_environ.rs
+++ b/crates/environ/src/compile/module_environ.rs
@@ -334,7 +334,7 @@ impl<'a, 'data> ModuleEnvironment<'a, 'data> {
let cnt = usize::try_from(imports.count()).unwrap();
self.result.module.initializers.reserve(cnt);
- for entry in imports {
+ for entry in imports.into_imports() {
let import = entry?;
let ty = match import.ty {
TypeRef::Func(index) => {
diff --git a/crates/environ/src/component/translate.rs b/crates/environ/src/component/translate.rs
index 841c90a87e..b1c09ad454 100644
--- a/crates/environ/src/component/translate.rs
+++ b/crates/environ/src/component/translate.rs
@@ -867,9 +867,6 @@ impl<'a, 'data> Translator<'a, 'data> {
| wasmparser::CanonicalFunction::ThreadAvailableParallelism => {
bail!("unsupported intrinsic")
}
- wasmparser::CanonicalFunction::BackpressureSet => {
- bail!("unsupported intrinsic")
- }
wasmparser::CanonicalFunction::BackpressureInc => {
let core_type = self.core_func_signature(core_func_index)?;
core_func_index += 1;
diff --git a/crates/environ/src/component/types_builder.rs b/crates/environ/src/component/types_builder.rs
index 3d5897ff4b..090081388a 100644
--- a/crates/environ/src/component/types_builder.rs
+++ b/crates/environ/src/component/types_builder.rs
@@ -459,6 +459,9 @@ impl ComponentTypesBuilder {
ComponentDefinedType::FixedSizeList(..) => {
bail!("support not implemented for fixed-size-lists");
}
+ ComponentDefinedType::Map(..) => {
+ bail!("support not implemented for map type");
+ }
};
let info = self.type_information(&ret);
if info.depth > MAX_TYPE_DEPTH {
diff --git a/crates/test-util/src/wast.rs b/crates/test-util/src/wast.rs
index 492f8a5957..26939fae33 100644
--- a/crates/test-util/src/wast.rs
+++ b/crates/test-util/src/wast.rs
@@ -705,10 +705,6 @@ impl WastTest {
// https://github.com/WebAssembly/component-model/issues/345 has
// been addressed and the test updated accordingly:
"component-model/test/wasm-tools/naming.wast",
- // TODO: Remove this once
- // https://github.com/bytecodealliance/wasm-tools/pull/2406 is
- // merged and released, and Wasmtime has been updated to use it:
- "component-model/test/async/same-component-stream-future.wast",
];
if failing_component_model_tests
.iter()
diff --git a/crates/wasi-preview1-component-adapter/verify/src/main.rs b/crates/wasi-preview1-component-adapter/verify/src/main.rs
index 2fced64e3f..e0096ce967 100644
--- a/crates/wasi-preview1-component-adapter/verify/src/main.rs
+++ b/crates/wasi-preview1-component-adapter/verify/src/main.rs
@@ -21,7 +21,7 @@ fn main() -> Result<()> {
Payload::End(_) => {}
Payload::TypeSection(_) => {}
Payload::ImportSection(s) => {
- for i in s {
+ for i in s.into_imports() {
let i = i?;
match i.ty {
TypeRef::Func(_) => {
diff --git a/crates/wit-bindgen/src/lib.rs b/crates/wit-bindgen/src/lib.rs
index a4a9cd8dab..08e3730f5a 100644
--- a/crates/wit-bindgen/src/lib.rs
+++ b/crates/wit-bindgen/src/lib.rs
@@ -1620,6 +1620,7 @@ impl<'a> InterfaceGenerator<'a> {
TypeDefKind::Resource => self.type_resource(id, name, ty, &ty.docs),
TypeDefKind::Unknown => unreachable!(),
TypeDefKind::FixedSizeList(..) => todo!(),
+ TypeDefKind::Map(..) => todo!(),
}
}
@@ -3409,6 +3410,7 @@ fn type_contains_lists(ty: Type, resolve: &Resolve) -> bool {
TypeDefKind::Type(ty) => type_contains_lists(*ty, resolve),
TypeDefKind::List(_) => true,
TypeDefKind::FixedSizeList(..) => todo!(),
+ TypeDefKind::Map(..) => todo!(),
},
// Technically strings are lists too, but we ignore that here because
diff --git a/crates/wit-bindgen/src/rust.rs b/crates/wit-bindgen/src/rust.rs
index e2b6383379..bc9e39fc67 100644
--- a/crates/wit-bindgen/src/rust.rs
+++ b/crates/wit-bindgen/src/rust.rs
@@ -133,6 +133,7 @@ pub trait RustGenerator<'a> {
TypeDefKind::Type(_) => false,
TypeDefKind::Unknown => unreachable!(),
TypeDefKind::FixedSizeList(..) => todo!(),
+ TypeDefKind::Map(..) => todo!(),
}
}
}
@@ -189,6 +190,7 @@ pub trait RustGenerator<'a> {
TypeDefKind::Type(t) => self.ty(t, mode),
TypeDefKind::Unknown => unreachable!(),
TypeDefKind::FixedSizeList(..) => todo!(),
+ TypeDefKind::Map(..) => todo!(),
}
}
diff --git a/crates/wit-bindgen/src/types.rs b/crates/wit-bindgen/src/types.rs
index a1f6920ff4..484c525a75 100644
--- a/crates/wit-bindgen/src/types.rs
+++ b/crates/wit-bindgen/src/types.rs
@@ -158,6 +158,7 @@ impl Types {
TypeDefKind::Resource => {}
TypeDefKind::Unknown => unreachable!(),
TypeDefKind::FixedSizeList(..) => todo!(),
+ TypeDefKind::Map(..) => todo!(),
}
self.type_info.insert(ty, info);
info
diff --git a/crates/wizer/src/parse.rs b/crates/wizer/src/parse.rs
index 1e84b8d123..bc255b5be0 100644
--- a/crates/wizer/src/parse.rs
+++ b/crates/wizer/src/parse.rs
@@ -50,7 +50,7 @@ fn import_section<'a>(
imports: wasmparser::ImportSectionReader<'a>,
) -> anyhow::Result<()> {
// Check that we can properly handle all imports.
- for imp in imports {
+ for imp in imports.into_imports() {
let imp = imp?;
if imp.module.starts_with("__wizer_") || imp.name.starts_with("__wizer_") {
diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml
index e3e0dfdfab..b6d8ac291f 100644
--- a/supply-chain/audits.toml
+++ b/supply-chain/audits.toml
@@ -2907,6 +2907,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
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.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.leb128]]
who = "Nick Fitzgerald <[email protected]>"
criteria = "safe-to-deploy"
@@ -4365,6 +4371,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wasm-compose]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wasm-coredump-builder]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
@@ -4533,6 +4545,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wasm-encoder]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wasm-metadata]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
@@ -4581,6 +4599,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wasm-metadata]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wasm-mutate]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
@@ -4785,6 +4809,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wasm-wave]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wasmi]]
who = "Robin Freyler <[email protected]>"
criteria = "safe-to-run"
@@ -4959,6 +4989,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wasmparser]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wasmparser-nostd]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-run"
@@ -5102,6 +5138,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wasmprinter]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wast]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
@@ -5228,6 +5270,12 @@ criteria = "safe-to-deploy"
delta = "242.0.0 -> 243.0.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wast]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "243.0.0 -> 244.0.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wat]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
@@ -5348,6 +5396,12 @@ criteria = "safe-to-deploy"
delta = "1.242.2 -> 1.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wat]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "1.243.0 -> 1.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.webpki-root-certs]]
who = "Chris Fallin <[email protected]>"
criteria = "safe-to-deploy"
@@ -5611,6 +5665,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wit-component]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.wit-parser]]
who = "Alex Crichton <[email protected]>"
criteria = "safe-to-deploy"
@@ -5707,6 +5767,12 @@ criteria = "safe-to-deploy"
delta = "0.242.0 -> 0.243.0"
notes = "The Bytecode Alliance is the author of this crate"
+[[audits.wit-parser]]
+who = "Alex Crichton <[email protected]>"
+criteria = "safe-to-deploy"
+delta = "0.243.0 -> 0.244.0"
+notes = "The Bytecode Alliance is the author of this crate"
+
[[audits.xattr]]
who = "Andrew Brown <[email protected]>"
criteria = "safe-to-deploy"
diff --git a/tests/misc_testsuite/component-model/async/streams.wast b/tests/misc_testsuite/component-model/async/streams.wast
index 87dcaec93d..35725c92d1 100644
--- a/tests/misc_testsuite/component-model/async/streams.wast
+++ b/tests/misc_testsuite/component-model/async/streams.wast
@@ -22,6 +22,16 @@
(core instance $i (instantiate $m (with "" (instance (export "stream.read" (func $stream-read))))))
)
+;; stream.read w/o memory
+(component
+ (core module $m
+ (import "" "stream.read" (func $stream-read (param i32 i32 i32) (result i32)))
+ )
+ (type $stream-type (stream))
+ (core func $stream-read (canon stream.read $stream-type async))
+ (core instance $i (instantiate $m (with "" (instance (export "stream.read" (func $stream-read))))))
+)
+
;; stream.read; with realloc
(component
(core module $libc
@@ -49,6 +59,16 @@
(core instance $i (instantiate $m (with "" (instance (export "stream.write" (func $stream-write))))))
)
+;; stream.write w/o memory
+(component
+ (core module $m
+ (import "" "stream.write" (func $stream-write (param i32 i32 i32) (result i32)))
+ )
+ (type $stream-type (stream))
+ (core func $stream-write (canon stream.write $stream-type async))
+ (core instance $i (instantiate $m (with "" (instance (export "stream.write" (func $stream-write))))))
+)
+
;; stream.cancel-read
(component
(core module $m