Skip to content

Commit 04d1549

Browse files
authored
RUST-2058 Fix BSON WASM tests (#512)
1 parent 16084d9 commit 04d1549

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.evergreen/compile-only.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ set -o errexit
66
rustup update $RUST_VERSION
77

88
if [ ! -z "$TARGET" ]; then
9+
if [[ "$TARGET" = "wasm32-wasi" && "$RUST_VERSION" = "nightly" ]]; then
10+
# renamed in newer versions of rustc
11+
TARGET="wasm32-wasip1"
12+
fi
913
rustup target add $TARGET --toolchain $RUST_VERSION
1014
TARGET="--target=$TARGET"
1115
fi

.evergreen/run-wasm-tests.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ set -o errexit
44

55
. ~/.cargo/env
66

7+
rustup update 1.81
8+
rustup default 1.81
9+
710
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
811

912
cd $(dirname $0)/../wasm-test

0 commit comments

Comments
 (0)