aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorJade <[email protected]>2021-06-14 05:41:46 +0100
committerJade <[email protected]>2021-06-19 09:09:19 +0100
commit8b77e2692cd97552b1b8d66eb51cec69695b3a5b (patch)
tree82187a911cd5e5acd8ce84f1f375d53185a05c7f /editors
parent1f6abb7fbae35dbd036032a6ea2a9e04307f1f55 (diff)
Implement a config override for the default #[cfg(test)] in cargo crates
Fixes crates which vanish when the 'test' cfg atom is set. Fix #7243. Fix #9203. Fix #7225.
Diffstat (limited to 'editors')
-rw-r--r--editors/code/package.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index c077bd2c0..b20a39a95 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -452,6 +452,16 @@
452 "default": false, 452 "default": false,
453 "type": "boolean" 453 "type": "boolean"
454 }, 454 },
455 "rust-analyzer.cargo.unsetTest": {
456 "markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.",
457 "default": [
458 "core"
459 ],
460 "type": "array",
461 "items": {
462 "type": "string"
463 }
464 },
455 "rust-analyzer.cargo.features": { 465 "rust-analyzer.cargo.features": {
456 "markdownDescription": "List of features to activate.", 466 "markdownDescription": "List of features to activate.",
457 "default": [], 467 "default": [],