about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code
diff options
context:
space:
mode:
authorqjerome <qjerome@rawsec.lu>2025-01-08 14:47:21 +0100
committerqjerome <qjerome@rawsec.lu>2025-01-08 14:47:21 +0100
commitc59ecb3af45898ad2385be9fc945467af02a45b5 (patch)
treec1595231fd0ff6cf6840d2a8fb3edfadfab08177 /src/tools/rust-analyzer/editors/code
parent2be4ce099d4af070ba71481a048f175b2da9c1c0 (diff)
downloadrust-c59ecb3af45898ad2385be9fc945467af02a45b5.tar.gz
rust-c59ecb3af45898ad2385be9fc945467af02a45b5.zip
fix: autogenerate files
Diffstat (limited to 'src/tools/rust-analyzer/editors/code')
-rw-r--r--src/tools/rust-analyzer/editors/code/package.json13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/tools/rust-analyzer/editors/code/package.json b/src/tools/rust-analyzer/editors/code/package.json
index 80246bf3fea..6cb74a94a00 100644
--- a/src/tools/rust-analyzer/editors/code/package.json
+++ b/src/tools/rust-analyzer/editors/code/package.json
@@ -791,11 +791,14 @@
                 "properties": {
                     "rust-analyzer.cargo.cfgs": {
                         "markdownDescription": "List of cfg options to enable with the given values.",
-                        "default": {
-                            "miri": null,
-                            "debug_assertions": null
-                        },
-                        "type": "object"
+                        "default": [
+                            "debug_assertion",
+                            "miri"
+                        ],
+                        "type": "array",
+                        "items": {
+                            "type": "string"
+                        }
                     }
                 }
             },