Merge pull request #2461 from rust-lang/rustc-pull

Rustc pull update
This commit is contained in:
Tshepang Mbambo 2025-06-09 07:19:50 +02:00 committed by GitHub
commit 06ddcae4be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View File

@ -1 +1 @@
c68032fd4c442d275f4daa571ba19c076106b490
c31cccb7b5cc098b1a8c1794ed38d7fdbec0ccb0

View File

@ -59,6 +59,14 @@ always overrides the inner ones.
## Configuring `rust-analyzer` for `rustc`
### Checking the "library" tree
Checking the "library" tree requires a stage1 compiler, which can be a heavy process on some computers.
For this reason, bootstrap has a flag called `--skip-std-check-if-no-download-rustc` that skips checking the
"library" tree if `rust.download-rustc` isn't available. If you want to avoid putting a heavy load on your computer
with `rust-analyzer`, you can add the `--skip-std-check-if-no-download-rustc` flag to your `./x check` command in
the `rust-analyzer` configuration.
### Project-local rust-analyzer setup
`rust-analyzer` can help you check and format your code whenever you save a