Skip to content

Commit 57d0c0d

Browse files
authored
Switch to target wasm-wasip2 (#104)
1 parent 7450e3d commit 57d0c0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ jobs:
4646
- name: Install toolchain
4747
uses: dtolnay/rust-toolchain@nightly
4848
with:
49-
targets: wasm32-wasi
49+
targets: wasm32-wasip2
5050
- name: Install wasmtime
5151
run: |
5252
curl https://wasmtime.dev/install.sh -sSf | bash
5353
echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
5454
- name: Test (no features)
55-
run: CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime cargo test --target wasm32-wasi --no-default-features
55+
run: CARGO_TARGET_WASM32_WASIP2_RUNNER=wasmtime cargo test --target wasm32-wasip2 --no-default-features
5656
- name: Test (all features)
57-
run: CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime cargo test --target wasm32-wasi --all-features
57+
run: CARGO_TARGET_WASM32_WASIP2_RUNNER=wasmtime cargo test --target wasm32-wasip2 --all-features
5858

5959
emscripten:
6060
name: Test Emscripten

0 commit comments

Comments
 (0)