diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2024-04-19 11:06:55 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2024-04-19 11:06:55 +0200 |
| commit | 0485a85ee2af65b3c73eda0df80fbacf838b862e (patch) | |
| tree | 24587d816792823f110a2653c52d3d0afaf2fe5c /docs | |
| parent | 8989dcffd6e94d402cf1cbce20c91eb78230118a (diff) | |
| download | rust-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.adoc | 10 |
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: `[]`):: + |
