Skip to content

Commit

Permalink
chore(deps): move to wasm32-wasip1 target
Browse files Browse the repository at this point in the history
Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
  • Loading branch information
viccuad committed Jun 5, 2024
1 parent fae26d4 commit 81b91c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-generate-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
profile: minimal
toolchain: stable
target: wasm32-wasi
target: wasm32-wasip1
- name: Install kwctl
uses: kubewarden/github-actions/kwctl-installer@v3.1.11
- name: Install bats
Expand Down
4 changes: 2 additions & 2 deletions Makefile.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ SOURCE_FILES := $(shell test -e src/ && find src -type f)
VERSION := $(shell sed -n 's,^version = \"\(.*\)\",\1,p' Cargo.toml)

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

artifacthub-pkg.yml: metadata.yml Cargo.toml
$(warning If you are updating the artifacthub-pkg.yml file for a release, \
Expand Down

0 comments on commit 81b91c8

Please sign in to comment.