From a0bcc287fc671670018f55caa1c82515a419e0ec Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sun, 7 Oct 2018 12:21:56 +0000 Subject: [PATCH] added rustup --- sheets/rustup | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sheets/rustup diff --git a/sheets/rustup b/sheets/rustup new file mode 100644 index 0000000..42df10f --- /dev/null +++ b/sheets/rustup @@ -0,0 +1,26 @@ +# rustup +# The Rust toolchain installer + +# update rustup toolchain +rustup update + +# install nightly build +rustup install nightly + +# use rustc from nightly toolchain +rustup run nightly rustc --version + +# switch to nightly installation +rustup default nightly + +# List all available targets for the active toolchain +rustup target list + +# Install the Android target +rustup target add arm-linux-androideabi + +# Run a shell configured for the nightly compiler +rustup run nightly bash + +# Show which toolchain will be used in the current directory +rustup show