Update init.sh

The instruction on readme explicitly depends on nightly-2020-10-05
main
Xiliang Chen 2020-11-17 21:41:39 +13:00 committed by GitHub
parent 946a062f6a
commit 5322aa1e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@ set -e
echo "*** Initializing WASM build environment"
if [ -z $CI_PROJECT_NAME ] ; then
rustup update nightly
rustup install nightly-2020-10-05
rustup update stable
fi
rustup target add wasm32-unknown-unknown --toolchain nightly
rustup target add wasm32-unknown-unknown --toolchain nightly-2020-10-05