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 --- docs/user/generated_config.adoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 14bce2083e2..7bd3012056b 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -88,10 +88,18 @@ or build-script sources change and are saved. Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to avoid checking unnecessary things. -- -[[rust-analyzer.cargo.cfgs]]rust-analyzer.cargo.cfgs (default: `{}`):: +[[rust-analyzer.cargo.cfgs]]rust-analyzer.cargo.cfgs:: + -- +Default: +---- +{ + "debug_assertions": null, + "miri": null +} +---- List of cfg options to enable with the given values. + -- [[rust-analyzer.cargo.extraArgs]]rust-analyzer.cargo.extraArgs (default: `[]`):: + -- cgit 1.4.1-3-g733a5