File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,14 +277,14 @@ This often helps reviewing.
277277## Configuring ` rustup ` to use nightly
278278
279279Some parts of the bootstrap process uses pinned, nightly versions of tools like rustfmt.
280- To make things like ` cargo fmt ` work correctly in your repo, run
280+ To make things like ` cargo fmt ` work correctly in your repo,
281+ [ install a nightly toolchain] with rustup, then run this command:
281282
282283``` console
283284cd <path to rustc repo>
284285rustup override set nightly
285286```
286287
287- After [ installing a nightly toolchain] with ` rustup ` .
288288Don't forget to do this for all directories you have [ setup a worktree for] .
289289You may need to use the
290290pinned nightly version from ` src/stage0 ` , but often the normal ` nightly ` channel will work.
@@ -297,7 +297,7 @@ toolchain for your bootstrapped compiler
297297You still have to use ` x ` to work on the compiler or standard library, this just
298298lets you use ` cargo fmt ` .
299299
300- [ installing a nightly toolchain] : https://rust-lang.github.io/rustup/concepts/channels.html?highlight=nightl#working-with-nightly-rust
300+ [ install a nightly toolchain] : https://rust-lang.github.io/rustup/concepts/channels.html?highlight=nightl#working-with-nightly-rust
301301[ setup a worktree for ] : ./suggested.md#working-on-multiple-branches-at-the-same-time
302302[ the section on vscode ] : suggested.md#configuring-rust-analyzer-for-rustc
303303[ the section on rustup ] : how-to-build-and-run.md?highlight=rustup#creating-a-rustup-toolchain
You can’t perform that action at this time.
0 commit comments