File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,22 @@ the problem. A nice side-effect of this style is that you are left
6767with a fairly fine-grained set of commits at the end, all of which
6868build and pass tests. This often helps reviewing.
6969
70+ ## Configuring ` rustup ` to use nightly
71+
72+ Some parts of the bootstrap process uses pinned, nightly versions of tools like
73+ rustfmt. To make things like ` cargo fmt ` work correctly in your repo, run
74+
75+ ``` console
76+ cd <path to rustc repo>
77+ rustup override set nightly
78+ ```
79+
80+ after [ installing a nightly toolchain] with ` rustup ` . Don't forget to do this for all
81+ directories you have [ setup a worktree for] .
82+
83+ [ installing a nightly toolchain ] : https://rust-lang.github.io/rustup/concepts/channels.html?highlight=nightl#working-with-nightly-rust
84+ [ setup a worktree for ] : ./suggested.html#working-on-multiple-branches-at-the-same-time
85+
7086## Incremental builds with ` --keep-stage ` .
7187
7288Sometimes just checking
You can’t perform that action at this time.
0 commit comments