Skip to content

Commit

Permalink
chore(deps): move to wasm32-wasip1 target
Browse files Browse the repository at this point in the history
The `wasm32-wasi` target is deprecated and is has already been renamed
`wasm32-wasip1`.
See:
https://blog.rust-lang.org/2024/04/09/updates-to-rusts-wasi-targets.html
  • Loading branch information
viccuad committed Jun 5, 2024
1 parent e7bf38b commit 3876f5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
SOURCE_FILES := $(shell test -e src/ && find src -type f)

policy.wasm: $(SOURCE_FILES) Cargo.*
cargo build --target=wasm32-wasi --release
cp target/wasm32-wasi/release/*.wasm policy.wasm
cargo build --target=wasm32-wasip1 --release
cp target/wasm32-wasip1/release/*.wasm policy.wasm

annotated-policy.wasm: policy.wasm metadata.yml
kwctl annotate -m metadata.yml -u README.md -o annotated-policy.wasm policy.wasm
Expand Down

0 comments on commit 3876f5a

Please sign in to comment.