Skip to content

Commit

Permalink
chore(build): rename rust target wasm32-wasi to wasm32-wasip1
Browse files Browse the repository at this point in the history
  • Loading branch information
flrgh committed Sep 24, 2024
1 parent 331194f commit 3f4ebf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-wasm-test-filters/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-wasm-test-filters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 3f4ebf4

Please sign in to comment.