about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorNixon Enraght-Moony <nixon.emoony@gmail.com>2023-02-03 19:06:03 +0000
committerTshepang Mbambo <tshepang@gmail.com>2023-02-04 01:01:48 +0200
commit9315468bd11b273f057d59d7c8aafc100b7901f8 (patch)
treeeaaeebfebd7cbc72c9d0b456cf00bc1261555531 /src/doc/rustc-dev-guide
parent1313bdeef32ac8c5507b0b0f2d4969661c802842 (diff)
downloadrust-9315468bd11b273f057d59d7c8aafc100b7901f8.tar.gz
rust-9315468bd11b273f057d59d7c8aafc100b7901f8.zip
Use host symlink for custom rustup toolchain
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
index 24786c0c0e9..fdfc1786ecb 100644
--- a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
+++ b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
@@ -122,16 +122,10 @@ you will likely need to build at some point; for example, if you want
 to run the entire test suite).
 
 ```bash
-rustup toolchain link stage1 build/<host-triple>/stage1
-rustup toolchain link stage2 build/<host-triple>/stage2
+rustup toolchain link stage1 build/host/stage1
+rustup toolchain link stage2 build/host/stage2
 ```
 
-The `<host-triple>` would typically be one of the following:
-
-- Linux: `x86_64-unknown-linux-gnu`
-- Mac: `x86_64-apple-darwin` or `aarch64-apple-darwin`
-- Windows: `x86_64-pc-windows-msvc`
-
 Now you can run the `rustc` you built with. If you run with `-vV`, you
 should see a version number ending in `-dev`, indicating a build from
 your local environment: