about summary refs log tree commit diff
path: root/docs
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 /docs
parent8989dcffd6e94d402cf1cbce20c91eb78230118a (diff)
downloadrust-0485a85ee2af65b3c73eda0df80fbacf838b862e.tar.gz
rust-0485a85ee2af65b3c73eda0df80fbacf838b862e.zip
Set debug_assertions and miri cfgs as config defaults, allowing them to be overwritten
Diffstat (limited to 'docs')
-rw-r--r--docs/user/generated_config.adoc10
1 files changed, 9 insertions, 1 deletions
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: `[]`)::
 +