Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Do not attempt to rustup if in CI. This is taken care of by the base (#…
…621)

image.
  • Loading branch information
ddorgan authored and dvdplm committed Sep 4, 2018
commit 3b042ff928dc51b5fe58dd2df4969dba599bd766
7 changes: 5 additions & 2 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ set -e

echo "*** Initilising WASM build environment"

rustup update nightly
if [ -z $CI_PROJECT_NAME ] ; then
rustup update nightly
rustup update stable
fi

rustup target add wasm32-unknown-unknown --toolchain nightly
rustup update stable

# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
command -v wasm-gc || \
Expand Down