Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .evergreen/compile-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ set -o errexit
rustup update $RUST_VERSION

if [ ! -z "$TARGET" ]; then
if [[ "$TARGET" = "wasm32-wasi" && "$RUST_VERSION" = "nightly" ]]; then
# renamed in newer versions of rustc
TARGET="wasm32-wasip1"
fi
rustup target add $TARGET --toolchain $RUST_VERSION
TARGET="--target=$TARGET"
fi
Expand Down
3 changes: 3 additions & 0 deletions .evergreen/run-wasm-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set -o errexit

. ~/.cargo/env

rustup update 1.81
rustup default 1.81

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

cd $(dirname $0)/../wasm-test
Expand Down