suggest build/rust-analyzer instead of build-rust-analyzer
This is better because - `./x clean` also removes it, without needing extra text to explain it - Does not need an extra .gitignore entry
This commit is contained in:
parent
e26fce98bb
commit
eabc382733
|
|
@ -91,7 +91,7 @@ for two reasons:
|
|||
additional rebuilds in some cases.
|
||||
|
||||
To avoid these problems:
|
||||
- Add `--build-dir=build-rust-analyzer` to all of the custom `x` commands in
|
||||
- Add `--build-dir=build/rust-analyzer` to all of the custom `x` commands in
|
||||
your editor's rust-analyzer configuration.
|
||||
(Feel free to choose a different directory name if desired.)
|
||||
- Modify the `rust-analyzer.rustfmt.overrideCommand` setting so that it points
|
||||
|
|
@ -100,10 +100,7 @@ To avoid these problems:
|
|||
copy of `rust-analyzer-proc-macro-srv` in that other build directory.
|
||||
|
||||
Using separate build directories for command-line builds and rust-analyzer
|
||||
requires extra disk space, and also means that running `./x clean` on the
|
||||
command-line will not clean out the separate build directory. To clean the
|
||||
separate build directory, run `./x clean --build-dir=build-rust-analyzer`
|
||||
instead.
|
||||
requires extra disk space.
|
||||
|
||||
### Visual Studio Code
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue