Skip to content

Commit eb83839

Browse files
authored
Suggest a separate build directory for rust-analyzer (#1378)
1 parent ef73d03 commit eb83839

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/building/suggested.md

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ in your `.vscode/settings.json` file. This will ask `rust-analyzer` to use
6161
> a triple is `x86_64-unknown-linux-gnu`. An easy way to check your target triple
6262
> is to run `rustc -vV` and checking the `host` value of its output.
6363
64+
If you have enough free disk space and you would like to be able to run `x.py` commands while
65+
rust-analyzer runs in the background, you can also add `--build-dir build-rust-analyzer` to the
66+
`overrideCommand` to avoid x.py locking.
67+
6468
If you're running `coc.nvim`, you can use `:CocLocalConfig` to create a
6569
`.vim/coc-settings.json` and enter the same settings as above, but replacing
6670
`editor.formatOnSave: true,` with

0 commit comments

Comments
 (0)