From b6bc645d83a2e1e7ab75f89fcc610ec0dbb826a2 Mon Sep 17 00:00:00 2001 From: zethra Date: Mon, 27 Nov 2017 09:58:49 -0500 Subject: [PATCH 1/4] 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 From 9ba419d4bd11cfc79b5a596e91dcb0ed9f9c2544 Mon Sep 17 00:00:00 2001 From: zethra Date: Mon, 27 Nov 2017 18:29:43 -0500 Subject: [PATCH 2/4] Fixed formating --- pages/common/rustup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/rustup.md b/pages/common/rustup.md index 3247d3cc6..49a187fab 100644 --- a/pages/common/rustup.md +++ b/pages/common/rustup.md @@ -21,4 +21,4 @@ - Run cargo build with a certain toolchain: -`rustup run {{toolchain name}} cargo build` \ No newline at end of file +`rustup run {{toolchain name}} cargo build` From ad7e9b14e10270cd16e530f2908b517705d52c29 Mon Sep 17 00:00:00 2001 From: zethra Date: Tue, 28 Nov 2017 18:58:06 -0500 Subject: [PATCH 3/4] Changed 'toolchain name' to 'toolchain_name' --- pages/common/rustup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/rustup.md b/pages/common/rustup.md index 49a187fab..3a37f0aec 100644 --- a/pages/common/rustup.md +++ b/pages/common/rustup.md @@ -21,4 +21,4 @@ - Run cargo build with a certain toolchain: -`rustup run {{toolchain name}} cargo build` +`rustup run {{toolchain_name}} cargo build` From 58330c9972fd8e578c285fe90d8eb275cbc6b748 Mon Sep 17 00:00:00 2001 From: zethra Date: Thu, 30 Nov 2017 09:51:01 -0500 Subject: [PATCH 4/4] Made requested formatting changes --- pages/common/rustup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/rustup.md b/pages/common/rustup.md index 3a37f0aec..ba34064eb 100644 --- a/pages/common/rustup.md +++ b/pages/common/rustup.md @@ -7,7 +7,7 @@ `rustup install nightly` -- Switch the default toolchain to nightly so that the cargo and rustc commands will use it: +- Switch the default toolchain to nightly so that the `cargo` and `rustc` commands will use it: `rustup default nightly`