From 87e743e6119dd8b5ad99c72b054a3f72bfbe7c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Wed, 5 Jun 2024 12:19:21 +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 2233e9f..428ab15 100644 --- a/Makefile +++ b/Makefile @@ -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 $(warning If you are updating the artifacthub-pkg.yml file for a release, \