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
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -460,14 +460,23 @@
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",
467
+
"type": [
468
+
"string",
469
+
"array"
470
+
],
468
471
"items": {
469
472
"type": "string"
470
-
}
473
+
},
474
+
"enum": [
475
+
"all"
476
+
],
477
+
"enumDescriptions": [
478
+
"All crates are analyzed without `--cfg=test`"
479
+
]
471
480
},
472
481
"rust-analyzer.checkOnSave.allTargets": {
473
482
"markdownDescription": "Check all targets and tests (`--all-targets`).",
0 commit comments