File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/doc/rustc-dev-guide/src/building Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,14 @@ always overrides the inner ones.
59
59
60
60
## Configuring ` rust-analyzer ` for ` rustc `
61
61
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
+
62
70
### Project-local rust-analyzer setup
63
71
64
72
` rust-analyzer ` can help you check and format your code whenever you save a
You can’t perform that action at this time.
0 commit comments