Skip to content

Commit

Permalink
fix(wasi): build verify for wasm32-wasi
Browse files Browse the repository at this point in the history
  • Loading branch information
DarumaDocker committed Nov 27, 2024
1 parent 9c4ee3f commit deae945
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion ci/verify-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,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 \
Expand Down Expand Up @@ -237,7 +239,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
Expand Down

0 comments on commit deae945

Please sign in to comment.