Skip to content

Commit

Permalink
Merge pull request #55 from kubewarden/wasip1
Browse files Browse the repository at this point in the history
chore(deps): move to wasm32-wasip1 target
  • Loading branch information
viccuad authored Jun 5, 2024
2 parents da7ee75 + c2eb8ea commit ae5e48f
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
Expand Up @@ -2,8 +2,8 @@ SOURCE_FILES := $(shell test -e src/ && find src -type f)
VERSION := $(shell sed --posix -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
kwctl scaffold artifacthub --metadata-path metadata.yml --version $(VERSION) \
Expand Down

0 comments on commit ae5e48f

Please sign in to comment.