diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-05-26 22:12:22 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-05-28 13:43:21 +0200 |
| commit | cea84427e00ad76b8400d45a84347b65d27dcef3 (patch) | |
| tree | d0d7994efb6c32cfb4523b355c77d4c998806c89 /docs/user | |
| parent | ee8c18cb6e757e24f968e51b26d39d4a442005aa (diff) | |
| download | rust-cea84427e00ad76b8400d45a84347b65d27dcef3.tar.gz rust-cea84427e00ad76b8400d45a84347b65d27dcef3.zip | |
Allow setting cfgs
Diffstat (limited to 'docs/user')
| -rw-r--r-- | docs/user/generated_config.adoc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index c2f8c6c754f..dc97366eef1 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -71,6 +71,11 @@ cargo check --quiet --workspace --message-format=json --all-targets Use `RUSTC_WRAPPER=rust-analyzer` when running build scripts to avoid checking unnecessary things. -- +[[rust-analyzer.cargo.cfgs]]rust-analyzer.cargo.cfgs (default: `{}`):: ++ +-- +List of cfg options to enable with the given values. +-- [[rust-analyzer.cargo.extraArgs]]rust-analyzer.cargo.extraArgs (default: `[]`):: + -- @@ -120,7 +125,7 @@ Compilation target override (target triple). [[rust-analyzer.cargo.unsetTest]]rust-analyzer.cargo.unsetTest (default: `["core"]`):: + -- -Unsets `#[cfg(test)]` for the specified crates. +Unsets the implicit `#[cfg(test)]` for the specified crates. -- [[rust-analyzer.checkOnSave]]rust-analyzer.checkOnSave (default: `true`):: + |
