From 0485a85ee2af65b3c73eda0df80fbacf838b862e Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Fri, 19 Apr 2024 11:06:55 +0200 Subject: Set debug_assertions and miri cfgs as config defaults, allowing them to be overwritten --- editors/code/package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'editors/code') 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": { -- cgit 1.4.1-3-g733a5