From cb9a5b9549cb5bb7f8f946643555398ae180937b Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Mon, 6 Feb 2023 12:07:33 +0100 Subject: Support sysroot library source being defined inside the workspace --- docs/user/generated_config.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') 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 @@ -97,6 +97,14 @@ Relative path to the sysroot, or "discover" to try to automatically find it via 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`):: -- cgit 1.4.1-3-g733a5