copy scripts

This commit is contained in:
Robert Habermeier
2018-08-15 13:40:49 +02:00
parent f85fcd4fc2
commit 670fc459b2
8 changed files with 389 additions and 126 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/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