Skip to content

Commit

Permalink
Upgrade to wasm-tools 220 release (#1084)
Browse files Browse the repository at this point in the history
* upgrade to wasm-tools 220 release

* guest-rust macro: minor fix for PackageSourceMap interface change
  • Loading branch information
pchickey authored Nov 13, 2024
1 parent b0db20b commit ae0545b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
72 changes: 36 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ indexmap = "2.0.0"
prettyplease = "0.2.20"
syn = { version = "2.0", features = ["printing"] }

wasmparser = "0.219.0"
wasm-encoder = "0.219.0"
wasm-metadata = "0.219.0"
wit-parser = "0.219.0"
wit-component = "0.219.0"
wasmparser = "0.220.0"
wasm-encoder = "0.220.0"
wasm-metadata = "0.220.0"
wit-parser = "0.220.0"
wit-component = "0.220.0"

wit-bindgen-core = { path = 'crates/core', version = '0.34.0' }
wit-bindgen-c = { path = 'crates/c', version = '0.34.0' }
Expand Down
2 changes: 1 addition & 1 deletion crates/guest-rust/macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ fn parse_source(
};
let (pkg, sources) = resolve.push_path(normalized_path)?;
pkgs.push(pkg);
files.extend(sources);
files.extend(sources.paths().map(|p| p.to_owned()));
}
Ok(())
};
Expand Down

0 comments on commit ae0545b

Please sign in to comment.