Skip to content

Commit

Permalink
Fix wasm32-wasi target deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yzsolt committed Dec 15, 2024
1 parent 02aa289 commit 06d1a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[build]
# rustflags = "-C target-cpu=native"
# target = "aarch64-unknown-linux-gnu"
# target = "wasm32-wasi"
# target = "wasm32-wasip1"

[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))']
rustflags = "-C target-feature=-sse4.1,-avx,-sse3"

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"

[target.wasm32-wasi]
[target.wasm32-wasip1]
runner = "wasmtime"
rustflags = "-C target-feature=+simd128"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
with:
profile: minimal
toolchain: stable
target: wasm32-wasi
target: wasm32-wasip1
override: true
components: rustfmt, clippy

Expand All @@ -136,4 +136,4 @@ jobs:
name: Run tests (release)
with:
command: test
args: --release --target wasm32-wasi
args: --release --target wasm32-wasip1

0 comments on commit 06d1a60

Please sign in to comment.