mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 04:18:20 +00:00
Re-add rust-analyzer.cargo.sysrootQueryMetadata
This commit is contained in:
parent
ba56d9b9b5
commit
3c98b98ca7
12 changed files with 150 additions and 51 deletions
|
|
@ -816,6 +816,24 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "cargo",
|
||||
"properties": {
|
||||
"rust-analyzer.cargo.sysrootQueryMetadata": {
|
||||
"markdownDescription": "How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer\nto analyze third-party dependencies of the standard libraries.",
|
||||
"default": "cargo_metadata",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"none",
|
||||
"cargo_metadata"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Do not query sysroot metadata, always use stitched sysroot.",
|
||||
"Use `cargo metadata` to query sysroot metadata."
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "cargo",
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue