about summary refs log tree commit diff
path: root/docs/user
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2023-05-26 22:12:22 +0200
committerLukas Wirth <lukastw97@gmail.com>2023-05-28 13:43:21 +0200
commitcea84427e00ad76b8400d45a84347b65d27dcef3 (patch)
treed0d7994efb6c32cfb4523b355c77d4c998806c89 /docs/user
parentee8c18cb6e757e24f968e51b26d39d4a442005aa (diff)
downloadrust-cea84427e00ad76b8400d45a84347b65d27dcef3.tar.gz
rust-cea84427e00ad76b8400d45a84347b65d27dcef3.zip
Allow setting cfgs
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/generated_config.adoc7
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`)::
 +