about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2024-04-19 11:06:55 +0200
committerLukas Wirth <lukastw97@gmail.com>2024-04-19 11:06:55 +0200
commit0485a85ee2af65b3c73eda0df80fbacf838b862e (patch)
tree24587d816792823f110a2653c52d3d0afaf2fe5c /editors/code
parent8989dcffd6e94d402cf1cbce20c91eb78230118a (diff)
Set debug_assertions and miri cfgs as config defaults, allowing them to be overwritten
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 9b4875dabe0..0fd17f385e7 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -610,7 +610,10 @@
                 },
                 "rust-analyzer.cargo.cfgs": {
                     "markdownDescription": "List of cfg options to enable with the given values.",
-                    "default": {},
+                    "default": {
+                        "debug_assertions": null,
+                        "miri": null
+                    },
                     "type": "object"
                 },
                 "rust-analyzer.cargo.extraArgs": {