mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
Add config option to use rust-analyzer
specific target dir
Adds a Rust Analyzer configuration option to set a custom target directory for builds. This is a workaround for Rust Analyzer blocking debug builds while running `cargo check`. This change should close #6007
This commit is contained in:
parent
7e9b25bff7
commit
aeef7b644b
3 changed files with 190 additions and 34 deletions
|
@ -757,6 +757,15 @@ Command to be executed instead of 'cargo' for runnables.
|
|||
Additional arguments to be passed to cargo for runnables such as
|
||||
tests or binaries. For example, it may be `--release`.
|
||||
--
|
||||
[[rust-analyzer.rust.analyzerTargetDir]]rust-analyzer.rust.analyzerTargetDir (default: `null`)::
|
||||
+
|
||||
--
|
||||
Optional path to a rust-analyzer specific target directory.
|
||||
This is useful to prevent rust-analyzer's `cargo check` from blocking builds.
|
||||
|
||||
Set to `true` to use a subdirectory of the existing target directory or
|
||||
set to a path to use that path.
|
||||
--
|
||||
[[rust-analyzer.rustc.source]]rust-analyzer.rustc.source (default: `null`)::
|
||||
+
|
||||
--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue