Skip to content

Commit c067de3

Browse files
authored
Merge pull request #2432 from rust-lang/tshepang-patch-1
suggest build/rust-analyzer instead of build-rust-analyzer
2 parents 354865c + eabc382 commit c067de3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/building/suggested.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ for two reasons:
9191
additional rebuilds in some cases.
9292

9393
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
9595
your editor's rust-analyzer configuration.
9696
(Feel free to choose a different directory name if desired.)
9797
- Modify the `rust-analyzer.rustfmt.overrideCommand` setting so that it points
@@ -100,10 +100,7 @@ To avoid these problems:
100100
copy of `rust-analyzer-proc-macro-srv` in that other build directory.
101101

102102
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.
107104

108105
### Visual Studio Code
109106

0 commit comments

Comments
 (0)