You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: editors/code/package.json
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -460,14 +460,27 @@
460
460
]
461
461
},
462
462
"rust-analyzer.cargo.unsetTest": {
463
-
"markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.",
463
+
"markdownDescription": "List of crates for which `--cfg=test` should not be used.\n\nSet this to `\"all\"` to never use `--cfg=test`. By default, `--cfg=test` is always used.",
464
464
"default": [
465
465
"core"
466
466
],
467
-
"type": "array",
468
-
"items": {
469
-
"type": "string"
470
-
}
467
+
"anyOf": [
468
+
{
469
+
"type": "string",
470
+
"enum": [
471
+
"all"
472
+
],
473
+
"enumDescriptions": [
474
+
"All crates are analyzed without `--cfg=test`"
475
+
]
476
+
},
477
+
{
478
+
"type": "array",
479
+
"items": {
480
+
"type": "string"
481
+
}
482
+
}
483
+
]
471
484
},
472
485
"rust-analyzer.checkOnSave.allTargets": {
473
486
"markdownDescription": "Check all targets and tests (`--all-targets`).",
0 commit comments