mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
Merge pull request #18511 from darichey/sysroot-query-metadata
Re-add `rust-analyzer.cargo.sysrootQueryMetadata`
This commit is contained in:
commit
8d5e91c94f
12 changed files with 150 additions and 51 deletions
|
|
@ -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`)::
|
||||
+
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue