Skip to content

Commit ae0545b

Browse files
authored
Upgrade to wasm-tools 220 release (bytecodealliance#1084)
* upgrade to wasm-tools 220 release * guest-rust macro: minor fix for PackageSourceMap interface change
1 parent b0db20b commit ae0545b

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ indexmap = "2.0.0"
3232
prettyplease = "0.2.20"
3333
syn = { version = "2.0", features = ["printing"] }
3434

35-
wasmparser = "0.219.0"
36-
wasm-encoder = "0.219.0"
37-
wasm-metadata = "0.219.0"
38-
wit-parser = "0.219.0"
39-
wit-component = "0.219.0"
35+
wasmparser = "0.220.0"
36+
wasm-encoder = "0.220.0"
37+
wasm-metadata = "0.220.0"
38+
wit-parser = "0.220.0"
39+
wit-component = "0.220.0"
4040

4141
wit-bindgen-core = { path = 'crates/core', version = '0.34.0' }
4242
wit-bindgen-c = { path = 'crates/c', version = '0.34.0' }

crates/guest-rust/macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn parse_source(
222222
};
223223
let (pkg, sources) = resolve.push_path(normalized_path)?;
224224
pkgs.push(pkg);
225-
files.extend(sources);
225+
files.extend(sources.paths().map(|p| p.to_owned()));
226226
}
227227
Ok(())
228228
};

0 commit comments

Comments
 (0)