Skip to content

Commit c8a5acd

Browse files
authored
Update wasm-tools to 215 (bytecodealliance#9053)
Pulling in some changes notably to multi-package `*.wit` files. prtest:full
1 parent db0d9c7 commit c8a5acd

File tree

4 files changed

+125
-47
lines changed

4 files changed

+125
-47
lines changed

Cargo.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -259,19 +259,19 @@ io-lifetimes = { version = "2.0.3", default-features = false }
259259
io-extras = "0.18.1"
260260
rustix = "0.38.31"
261261
# wit-bindgen:
262-
wit-bindgen = { version = "0.28.0", default-features = false }
263-
wit-bindgen-rust-macro = { version = "0.28.0", default-features = false }
262+
wit-bindgen = { version = "0.29.0", default-features = false }
263+
wit-bindgen-rust-macro = { version = "0.29.0", default-features = false }
264264

265265
# wasm-tools family:
266-
wasmparser = { version = "0.214.0", default-features = false }
267-
wat = "1.214.0"
268-
wast = "214.0.0"
269-
wasmprinter = "0.214.0"
270-
wasm-encoder = "0.214.0"
271-
wasm-smith = "0.214.0"
272-
wasm-mutate = "0.214.0"
273-
wit-parser = "0.214.0"
274-
wit-component = "0.214.0"
266+
wasmparser = { version = "0.215.0", default-features = false }
267+
wat = "1.215.0"
268+
wast = "215.0.0"
269+
wasmprinter = "0.215.0"
270+
wasm-encoder = "0.215.0"
271+
wasm-smith = "0.215.0"
272+
wasm-mutate = "0.215.0"
273+
wit-parser = "0.215.0"
274+
wit-component = "0.215.0"
275275

276276
# Non-Bytecode Alliance maintained dependencies:
277277
# --------------------------

crates/component-macro/src/bindgen.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,11 @@ impl Parse for Config {
170170
path = Some(input.parse::<syn::LitStr>()?.value());
171171
}
172172
}
173-
let (resolve, pkgs, files) = parse_source(&path, &inline, &features)
173+
let (resolve, pkg, files) = parse_source(&path, &inline, &features)
174174
.map_err(|err| Error::new(call_site, format!("{err:?}")))?;
175175

176176
let world = resolve
177-
.select_world(&pkgs, world.as_deref())
177+
.select_world(pkg, world.as_deref())
178178
.map_err(|e| Error::new(call_site, format!("{e:?}")))?;
179179
Ok(Config {
180180
opts,
@@ -190,7 +190,7 @@ fn parse_source(
190190
path: &Option<String>,
191191
inline: &Option<String>,
192192
features: &[String],
193-
) -> anyhow::Result<(Resolve, Vec<PackageId>, Vec<PathBuf>)> {
193+
) -> anyhow::Result<(Resolve, PackageId, Vec<PathBuf>)> {
194194
let mut resolve = Resolve::default();
195195
resolve.features.extend(features.iter().cloned());
196196
let mut files = Vec::new();

0 commit comments

Comments
 (0)