Files
pezkuwi-subxt/substrate/scripts/init.sh
T
Chevdor 1bd19d8511 Improve docker image size with a 2 stages image (#463)
* Improve docker image size with a 2 stages image

* Minor doc updates

* Fix and reduce size of the docker image

* Fix paths in scripts
2018-08-03 19:34:53 +02:00

14 lines
350 B
Bash
Executable File

#!/usr/bin/env bash
set -e
echo "*** Initialising WASM build environment"
rustup update nightly
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 || \
cargo +nightly install --git https://github.com/alexcrichton/wasm-gc