From b6bc645d83a2e1e7ab75f89fcc610ec0dbb826a2 Mon Sep 17 00:00:00 2001 From: zethra Date: Mon, 27 Nov 2017 09:58:49 -0500 Subject: [PATCH] Added page for rustup --- pages/common/rustup.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/rustup.md diff --git a/pages/common/rustup.md b/pages/common/rustup.md new file mode 100644 index 000000000..3247d3cc6 --- /dev/null +++ b/pages/common/rustup.md @@ -0,0 +1,24 @@ +# rustup + +> Rust toolchain installer. +> Install, manage, and update Rust toolchains. + +- Install the nightly toolchain for your system: + +`rustup install nightly` + +- Switch the default toolchain to nightly so that the cargo and rustc commands will use it: + +`rustup default nightly` + +- Update all toolchains: + +`rustup update` + +- List installed toolchains: + +`rustup show` + +- Run cargo build with a certain toolchain: + +`rustup run {{toolchain name}} cargo build` \ No newline at end of file