From 0b1fef12fee0b681d6de6c035e42abc3def81a49 Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Tue, 24 Sep 2024 12:04:40 -0400 Subject: [PATCH] rename wasm32-wasi => wasm32-wasip1 --- .github/actions/build-wasm-test-filters/action.yml | 6 +++--- scripts/build-wasm-test-filters.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/build-wasm-test-filters/action.yml b/.github/actions/build-wasm-test-filters/action.yml index d633f7cbafe8..27c1d8f17f4c 100644 --- a/.github/actions/build-wasm-test-filters/action.yml +++ b/.github/actions/build-wasm-test-filters/action.yml @@ -37,7 +37,7 @@ runs: toolchain: stable override: true components: cargo - target: wasm32-wasi + target: wasm32-wasip1 - name: cargo build if: steps.restore-cache.outputs.cache-hit != 'true' @@ -50,7 +50,7 @@ runs: --manifest-path "${{ env.WASM_FILTER_PATH }}/Cargo.toml" --workspace --lib - --target wasm32-wasi + --target wasm32-wasip1 --release - name: Save cache @@ -71,7 +71,7 @@ runs: run: | ln -sfv \ --no-target-directory \ - "${{ env.WASM_FILTER_PATH }}"/target/wasm32-wasi/release \ + "${{ env.WASM_FILTER_PATH }}"/target/wasm32-wasip1/release \ "${{ env.WASM_FIXTURE_PATH }}" - name: debug diff --git a/scripts/build-wasm-test-filters.sh b/scripts/build-wasm-test-filters.sh index 504a4ed0240f..22a2aa5560b0 100755 --- a/scripts/build-wasm-test-filters.sh +++ b/scripts/build-wasm-test-filters.sh @@ -19,7 +19,7 @@ set -euo pipefail -readonly BUILD_TARGET=wasm32-wasi +readonly BUILD_TARGET=wasm32-wasip1 readonly FIXTURE_PATH=${PWD}/spec/fixtures/proxy_wasm_filters readonly INSTALL_ROOT=${PWD}/bazel-bin/build/${BUILD_NAME:-kong-dev}