Skip to content

Commit

Permalink
don't run the cleared env test for wasm32-unknown-emscripten
Browse files Browse the repository at this point in the history
this target doesn't support running a command
  • Loading branch information
glehmann committed Jan 30, 2024
1 parent 2fef4f4 commit 0beab02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ main() {
rm -rf "${td}"

# test running binaries with cleared environment
if (( ${RUN:-0} )); then
# Command is not implemented for wasm32-unknown-emscripten
if (( ${RUN:-0} )) && [[ "${TARGET}" != "wasm32-unknown-emscripten" ]]; then
td="$(mkcargotemp -d)"
pushd "${td}"
cargo init --bin --name foo .
Expand Down

0 comments on commit 0beab02

Please sign in to comment.