From 33df0a4adfb718133abfb1f615043a689a227d09 Mon Sep 17 00:00:00 2001 From: Xiliang Chen Date: Fri, 5 Apr 2019 19:08:39 +1300 Subject: [PATCH] update init script (#211) --- polkadot/scripts/init.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/polkadot/scripts/init.sh b/polkadot/scripts/init.sh index 6ca085f277..406a3dfdce 100755 --- a/polkadot/scripts/init.sh +++ b/polkadot/scripts/init.sh @@ -2,16 +2,13 @@ set -e -echo "*** Initialising WASM build environment" +echo "*** Initializing WASM build environment" rustup update nightly -rustup target add wasm32-unknown-unknown --toolchain nightly -# Temporarily install llvm-tools. -# See https://github.com/rust-lang/rust/issues/53813 -# TODO: Remove this when fixed. -rustup component add llvm-tools-preview --toolchain nightly rustup update stable +rustup target add wasm32-unknown-unknown --toolchain nightly + # Install wasm-gc. It's useful for stripping slimming down wasm binaries. command -v wasm-gc || \ - cargo +nightly install --git https://github.com/alexcrichton/wasm-gc + cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force