Change manual dependency on wasm-gc executable to an automatic cargo dependency. (#3854)

Improves user experience.
This commit is contained in:
Andrew Dirksen
2019-10-19 01:38:19 -07:00
committed by Bastian Köcher
parent 141a64cf41
commit 470b62366f
10 changed files with 30 additions and 42 deletions
-4
View File
@@ -10,7 +10,3 @@ if [ -z $CI_PROJECT_NAME ] ; then
fi
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 --force