Skip to content

Commit 3596a52

Browse files
committed
update wasi target
1 parent eb208b8 commit 3596a52

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.cargo/config.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[target.wasm32-wasi]
1+
[target.wasm32-wasip1]
22
runner = "wasmtime"

.github/workflows/ci.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,20 @@ jobs:
146146
- name: Add Wasmtime to path
147147
run: echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
148148

149-
- name: Install wasm32-wasi target
150-
run: rustup target add wasm32-wasi
149+
- name: Install Rust Toolchain
150+
run: rustup update nightly && rustup default nightly
151+
152+
- name: Install wasm32-wasip1 target
153+
run: rustup target add wasm32-wasip1
151154

152155
- name: Default features
153-
run: cargo test --target wasm32-wasi
156+
run: cargo test --target wasm32-wasip1
154157

155158
- name: Version features
156-
run: cargo test --target wasm32-wasi --features "$VERSION_FEATURES $DEP_FEATURES"
159+
run: cargo test --target wasm32-wasip1 --features "$VERSION_FEATURES $DEP_FEATURES"
157160

158161
- name: Fast RNG
159-
run: cargo test --target wasm32-wasi --features "v4 fast-rng"
162+
run: cargo test --target wasm32-wasip1 --features "v4 fast-rng"
160163

161164
miri:
162165
name: Tests / Miri

0 commit comments

Comments
 (0)