Skip to content

Commit

Permalink
update wasi target
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Jan 10, 2025
1 parent eb208b8 commit 3596a52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[target.wasm32-wasi]
[target.wasm32-wasip1]
runner = "wasmtime"
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,20 @@ jobs:
- name: Add Wasmtime to path
run: echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH

- name: Install wasm32-wasi target
run: rustup target add wasm32-wasi
- name: Install Rust Toolchain
run: rustup update nightly && rustup default nightly

- name: Install wasm32-wasip1 target
run: rustup target add wasm32-wasip1

- name: Default features
run: cargo test --target wasm32-wasi
run: cargo test --target wasm32-wasip1

- name: Version features
run: cargo test --target wasm32-wasi --features "$VERSION_FEATURES $DEP_FEATURES"
run: cargo test --target wasm32-wasip1 --features "$VERSION_FEATURES $DEP_FEATURES"

- name: Fast RNG
run: cargo test --target wasm32-wasi --features "v4 fast-rng"
run: cargo test --target wasm32-wasip1 --features "v4 fast-rng"

miri:
name: Tests / Miri
Expand Down

0 comments on commit 3596a52

Please sign in to comment.