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
-1
View File
@@ -20,7 +20,6 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
export PATH="$PATH:$HOME/.cargo/bin" && \
rustup toolchain install nightly && \
rustup target add wasm32-unknown-unknown --toolchain nightly && \
cargo install --git https://github.com/alexcrichton/wasm-gc && \
rustup default nightly && \
rustup default stable && \
cargo build "--$PROFILE"