ubuntu_install_rust.sh 392 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
apt-get update && apt-get install -y --no-install-recommends --force-yes curl

curl -sSo rustup.sh 'https://sh.rustup.rs'
# rustc nightly-2018-08-25 is the version supported by the above version of rust-sgx-sdk
bash rustup.sh -y --no-modify-path --default-toolchain nightly-2018-08-25
. $HOME/.cargo/env
rustup component add rust-src
cargo install rustfmt-nightly --force
cargo install xargo