Merge pull request #18511 from darichey/sysroot-query-metadata

Re-add `rust-analyzer.cargo.sysrootQueryMetadata`
This commit is contained in:
Laurențiu Nicola 2024-11-26 15:11:44 +00:00 committed by GitHub
commit 8d5e91c94f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 150 additions and 51 deletions

View file

@ -135,6 +135,12 @@ Unsetting this disables sysroot loading.
This option does not take effect until rust-analyzer is restarted.
--
[[rust-analyzer.cargo.sysrootQueryMetadata]]rust-analyzer.cargo.sysrootQueryMetadata (default: `"cargo_metadata"`)::
+
--
How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer
to analyze third-party dependencies of the standard libraries.
--
[[rust-analyzer.cargo.sysrootSrc]]rust-analyzer.cargo.sysrootSrc (default: `null`)::
+
--