Skip to content

Commit 06ddcae

Browse files
authored
Merge pull request #2461 from rust-lang/rustc-pull
Rustc pull update
2 parents d68b8d6 + 4cc3df2 commit 06ddcae

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c68032fd4c442d275f4daa571ba19c076106b490
1+
c31cccb7b5cc098b1a8c1794ed38d7fdbec0ccb0

src/building/suggested.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,14 @@ always overrides the inner ones.
5959

6060
## Configuring `rust-analyzer` for `rustc`
6161

62+
### Checking the "library" tree
63+
64+
Checking the "library" tree requires a stage1 compiler, which can be a heavy process on some computers.
65+
For this reason, bootstrap has a flag called `--skip-std-check-if-no-download-rustc` that skips checking the
66+
"library" tree if `rust.download-rustc` isn't available. If you want to avoid putting a heavy load on your computer
67+
with `rust-analyzer`, you can add the `--skip-std-check-if-no-download-rustc` flag to your `./x check` command in
68+
the `rust-analyzer` configuration.
69+
6270
### Project-local rust-analyzer setup
6371

6472
`rust-analyzer` can help you check and format your code whenever you save a

0 commit comments

Comments
 (0)