mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Provide an config option to not set cfg(test)
This commit is contained in:
parent
546339a7be
commit
4ea09dd9f6
16 changed files with 73 additions and 15 deletions
|
|
@ -158,6 +158,11 @@ building from locking the `Cargo.lock` at the expense of duplicating build artif
|
|||
Set to `true` to use a subdirectory of the existing target directory or
|
||||
set to a path relative to the workspace to use that path.
|
||||
--
|
||||
[[rust-analyzer.cfg.setTest]]rust-analyzer.cfg.setTest (default: `true`)::
|
||||
+
|
||||
--
|
||||
Set `cfg(test)` for local crates. Defaults to true.
|
||||
--
|
||||
[[rust-analyzer.checkOnSave]]rust-analyzer.checkOnSave (default: `true`)::
|
||||
+
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue