From a1a59d36804ae65333be604ccac70a7e2069b277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Wed, 5 Jun 2024 12:19:27 +0200 Subject: [PATCH] chore(deps): move to wasm32-wasip1 target 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c6acac7..b761f7a 100644 --- a/Makefile +++ b/Makefile @@ -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, \