Skip to content

Commit d31dc71

Browse files
committed
Update to WAC 0.8 and WASI P2 test
Signed-off-by: itowlson <[email protected]>
1 parent acb84b5 commit d31dc71

File tree

5 files changed

+28
-178
lines changed

5 files changed

+28
-178
lines changed

Cargo.lock

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

crates/build/tests/test-components/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
```
44
cd source/test-command
5-
cargo build --release --target wasm32-wasip1
5+
cargo build --release --target wasm32-wasip2
66
```
77

8-
then copy from `target/wasm32-wasip1/release/` to this directory.
9-
10-
**IMPORTANT:** Do not use the `wasm32-wasip2` target. It generates to the 0.2.x world (0.2.3 at time of writing), and Component Model tooling does not yet accept that as compatible with the 0.2.0 world.
8+
then copy from `target/wasm32-wasip2/release/` to this directory.

crates/build/tests/test-components/test-command.wasm

100755100644
21 KB
Binary file not shown.

crates/compose/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spin-componentize = { path = "../componentize" }
1919
spin-serde = { path = "../serde" }
2020
thiserror = { workspace = true }
2121
tokio = { workspace = true, features = ["fs"] }
22-
wac-graph = "0.6"
22+
wac-graph = "0.8"
2323

2424
[lints]
2525
workspace = true

crates/environments/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ spin-serde = { path = "../serde" }
2626
toml = { workspace = true }
2727
tokio = { version = "1.23", features = ["fs"] }
2828
tracing = { workspace = true }
29-
wac-parser = "0.7.0"
30-
wac-resolver = "0.7.0"
31-
wac-types = "0.7.0"
29+
wac-parser = "0.8"
30+
wac-resolver = "0.8"
31+
wac-types = "0.8"
3232
wasm-pkg-client = { workspace = true }
3333
wasmparser = { workspace = true }
3434
wit-component = { workspace = true }

0 commit comments

Comments
 (0)