From f19966de8f1b9a1d890fb581473229771010e155 Mon Sep 17 00:00:00 2001 From: Sergey Pepyakin Date: Fri, 31 Aug 2018 14:10:25 +0300 Subject: [PATCH] Install llvm-tools. --- polkadot/scripts/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polkadot/scripts/init.sh b/polkadot/scripts/init.sh index e3618783c1..6ca085f277 100755 --- a/polkadot/scripts/init.sh +++ b/polkadot/scripts/init.sh @@ -6,6 +6,10 @@ echo "*** Initialising 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 # Install wasm-gc. It's useful for stripping slimming down wasm binaries.