Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json13
1 files changed, 8 insertions, 5 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 80246bf3fe..6cb74a94a0 100644
--- a/editors/code/package.json
+++ b/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"
+ }
}
}
},