mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
Auto merge of #18085 - ChayimFriedman2:gate-test, r=Veykril
feat: Provide an config option to not set `cfg(test)` Fixes #17957.
This commit is contained in:
commit
ceee056af6
18 changed files with 109 additions and 18 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