install_rust.sh

This commit is contained in:
folex 2019-08-18 15:02:25 +03:00
parent 730a46a9a8
commit 7855dc544d

11
install_rust.sh Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Install Rust
curl https://sh.rustup.rs -sSf | sh -s -- -y
# Install nightly toolchain
rustup toolchain install nightly
# Add WASM target
rustup target add wasm32-unknown-unknown --toolchain nightly