From 3a46edee19f9805a915550519a87954335ca9f39 Mon Sep 17 00:00:00 2001 From: DarumaDocker Date: Wed, 27 Nov 2024 07:22:08 +0000 Subject: [PATCH] fix(wasi): build verify for wasm32-wasi --- ci/verify-build.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ci/verify-build.sh b/ci/verify-build.sh index 7d3e556e0c55..cf3019631ab0 100755 --- a/ci/verify-build.sh +++ b/ci/verify-build.sh @@ -95,6 +95,8 @@ sparc64-unknown-linux-gnu \ sparcv9-sun-solaris \ wasm32-unknown-emscripten \ wasm32-unknown-unknown \ +wasm32-wasip1 \ +wasm32-wasip2 \ x86_64-linux-android \ x86_64-unknown-freebsd \ x86_64-unknown-linux-gnu \ @@ -233,7 +235,15 @@ for target in $targets; do TARGET="$target" ./ci/install-rust.sh test_target "$target" else - test_target "$target" + if [ "$rust" = "stable" ] || [ "$rust" = "nightly" ]; then + test_target "$target" + else + if [ "$target" = "wasm32-wasip1" ]; then + test_target "wasm32-wasi" + elif [ "$target" != "wasm32-wasip2" ]; then + test_target "$target" + fi + fi fi test_run=1