about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-05-26 22:12:22 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-05-28 13:43:21 +0200
commitcea84427e00ad76b8400d45a84347b65d27dcef3 (patch)
treed0d7994efb6c32cfb4523b355c77d4c998806c89 /editors/code/package.json
parentee8c18cb6e757e24f968e51b26d39d4a442005aa (diff)
downloadrust-cea84427e00ad76b8400d45a84347b65d27dcef3.tar.gz
rust-cea84427e00ad76b8400d45a84347b65d27dcef3.zip
Allow setting cfgs
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 390508b883e..aa63c40c0d2 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -553,6 +553,11 @@
                     "default": true,
                     "type": "boolean"
                 },
+                "rust-analyzer.cargo.cfgs": {
+                    "markdownDescription": "List of cfg options to enable with the given values.",
+                    "default": {},
+                    "type": "object"
+                },
                 "rust-analyzer.cargo.extraArgs": {
                     "markdownDescription": "Extra arguments that are passed to every cargo invocation.",
                     "default": [],
@@ -617,7 +622,7 @@
                     ]
                 },
                 "rust-analyzer.cargo.unsetTest": {
-                    "markdownDescription": "Unsets `#[cfg(test)]` for the specified crates.",
+                    "markdownDescription": "Unsets the implicit `#[cfg(test)]` for the specified crates.",
                     "default": [
                         "core"
                     ],