File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/doc/rustc-dev-guide/src/building Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ for two reasons:
91
91
additional rebuilds in some cases.
92
92
93
93
To avoid these problems:
94
- - Add ` --build-dir=build- rust-analyzer ` to all of the custom ` x ` commands in
94
+ - Add ` --build-dir=build/ rust-analyzer ` to all of the custom ` x ` commands in
95
95
your editor's rust-analyzer configuration.
96
96
(Feel free to choose a different directory name if desired.)
97
97
- Modify the ` rust-analyzer.rustfmt.overrideCommand ` setting so that it points
@@ -100,10 +100,7 @@ To avoid these problems:
100
100
copy of ` rust-analyzer-proc-macro-srv ` in that other build directory.
101
101
102
102
Using separate build directories for command-line builds and rust-analyzer
103
- requires extra disk space, and also means that running ` ./x clean ` on the
104
- command-line will not clean out the separate build directory. To clean the
105
- separate build directory, run ` ./x clean --build-dir=build-rust-analyzer `
106
- instead.
103
+ requires extra disk space.
107
104
108
105
### Visual Studio Code
109
106
You can’t perform that action at this time.
0 commit comments