diff options
| author | mark <markm@cs.wisc.edu> | 2020-10-03 19:31:44 -0500 |
|---|---|---|
| committer | Joshua Nelson <joshua@yottadb.com> | 2020-10-04 10:14:22 -0400 |
| commit | 6c32b8ead282e1990af6b74f37c64e1a2691a5b6 (patch) | |
| tree | 231f0062a317bca73bdefad7552479cd9baefe6a /src/doc/rustc-dev-guide | |
| parent | 825b63b62b854277d7031711e8865f00ccd7293a (diff) | |
| download | rust-6c32b8ead282e1990af6b74f37c64e1a2691a5b6.tar.gz rust-6c32b8ead282e1990af6b74f37c64e1a2691a5b6.zip | |
address lingering reviewer comments
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/building/suggested.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md index 1091245ece2..112aedd981c 100644 --- a/src/doc/rustc-dev-guide/src/building/suggested.md +++ b/src/doc/rustc-dev-guide/src/building/suggested.md @@ -1,6 +1,6 @@ # Suggested Workflows -The full bootstrapping process takes quite a while. Here are five suggestions +The full bootstrapping process takes quite a while. Here are some suggestions to make your life easier. ## Configuring `rust-analyzer` for `rustc` @@ -78,12 +78,16 @@ rustup override set nightly ``` after [installing a nightly toolchain] with `rustup`. Don't forget to do this for all -directories you have [setup a worktree for]. +directories you have [setup a worktree for]. You may need to use the pinned +nightly version from `src/stage0.txt`, but often the normal `nightly` channel +will work. **Note** see [the section on vscode] for how to configure it with this real rustfmt `x.py` uses, and [the section on rustup] for how to setup `rustup` toolchain for your bootstrapped compiler -**Note** This does _not_ allow you to build `rustc` with cargo directly. You still have to use `x.py` to work on the compiler or standard library, this just lets you use `cargo fmt`. +**Note** This does _not_ allow you to build `rustc` with cargo directly. You +still have to use `x.py` to work on the compiler or standard library, this just +lets you use `cargo fmt`. [installing a nightly toolchain]: https://rust-lang.github.io/rustup/concepts/channels.html?highlight=nightl#working-with-nightly-rust [setup a worktree for]: ./suggested.html#working-on-multiple-branches-at-the-same-time |
