diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-02-06 12:07:33 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-02-06 12:07:33 +0100 |
| commit | cb9a5b9549cb5bb7f8f946643555398ae180937b (patch) | |
| tree | abdc65d5c0bd2235466cc7c0d601ac23d7f8a50f /docs | |
| parent | 0b32b65ca6aee21f352d178eeb0b85e092a93177 (diff) | |
| download | rust-cb9a5b9549cb5bb7f8f946643555398ae180937b.tar.gz rust-cb9a5b9549cb5bb7f8f946643555398ae180937b.zip | |
Support sysroot library source being defined inside the workspace
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 1bfb8a917a8..d5fdedfe3af 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -99,6 +99,14 @@ Unsetting this disables sysroot loading. This option does not take effect until rust-analyzer is restarted. -- +[[rust-analyzer.cargo.sysrootSrc]]rust-analyzer.cargo.sysrootSrc (default: `null`):: ++ +-- +Relative path to the sysroot library sources. If left unset, this will default to +`{cargo.sysroot}/lib/rustlib/src/rust/library`. + +This option does not take effect until rust-analyzer is restarted. +-- [[rust-analyzer.cargo.target]]rust-analyzer.cargo.target (default: `null`):: + -- |
