Skip to content

Commit 82bacb8

Browse files
committed
wasm32-wasi was renamed to wasm32-wasip1
cargo-wasi seems unmaintained and does not support the new target.
1 parent 12a814f commit 82bacb8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,25 +145,20 @@ jobs:
145145
# with the host system.
146146
- run: TZ="$(date +%z)" NOW="$(date +%s)" wasm-pack test --node -- --features wasmbind
147147

148-
test_wasi:
148+
test_wasip1:
149149
strategy:
150150
matrix:
151151
os: [ubuntu-latest]
152-
target:
153-
- wasm32-wasi
152+
target: [wasm32-wasip1]
154153
runs-on: ${{ matrix.os }}
155154
steps:
156155
- uses: actions/checkout@v4
157156
- uses: dtolnay/rust-toolchain@stable
158157
with:
159-
targets: wasm32-wasi
158+
targets: ${{ matrix.target }}
160159
- uses: Swatinem/rust-cache@v2
161-
- run: cargo install cargo-wasi
162-
- uses: mwilliamson/setup-wasmtime-action@v2
163-
with:
164-
wasmtime-version: "12.0.1"
165160
# We can't use `--all-features` because rkyv uses the mutually-exclusive-feature pattern
166-
- run: cargo wasi test --features=serde,unstable-locales --color=always -- --color=always
161+
- run: cargo check --target ${{ matrix.target }} --all-targets --features=serde,unstable-locales
167162

168163
cross-targets:
169164
strategy:

0 commit comments

Comments
 (0)