File tree 1 file changed +16
-0
lines changed
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
67
67
with a fairly fine-grained set of commits at the end, all of which
68
68
build and pass tests. This often helps reviewing.
69
69
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
+
70
86
## Incremental builds with ` --keep-stage ` .
71
87
72
88
Sometimes just checking
You can’t perform that action at this time.
0 commit comments