Skip to content

Commit 69ef8a3

Browse files
aDotInTheVoidtshepang
authored andcommitted
Use host symlink for custom rustup toolchain
1 parent 0e4e3ab commit 69ef8a3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/building/how-to-build-and-run.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -122,16 +122,10 @@ you will likely need to build at some point; for example, if you want
122122
to run the entire test suite).
123123

124124
```bash
125-
rustup toolchain link stage1 build/<host-triple>/stage1
126-
rustup toolchain link stage2 build/<host-triple>/stage2
125+
rustup toolchain link stage1 build/host/stage1
126+
rustup toolchain link stage2 build/host/stage2
127127
```
128128

129-
The `<host-triple>` would typically be one of the following:
130-
131-
- Linux: `x86_64-unknown-linux-gnu`
132-
- Mac: `x86_64-apple-darwin` or `aarch64-apple-darwin`
133-
- Windows: `x86_64-pc-windows-msvc`
134-
135129
Now you can run the `rustc` you built with. If you run with `-vV`, you
136130
should see a version number ending in `-dev`, indicating a build from
137131
your local environment:

0 commit comments

Comments
 (0)