Document rustc_private in metadata
This commit is contained in:
parent
d0a51d710e
commit
20007fd3a8
@ -180,7 +180,8 @@ config_data! {
|
||||
runnables_cargoExtraArgs: Vec<String> = "[]",
|
||||
|
||||
/// Path to the rust compiler sources, for usage in rustc_private projects, or "discover"
|
||||
/// to try to automatically find it.
|
||||
/// to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate
|
||||
/// crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.
|
||||
rustcSource : Option<String> = "null",
|
||||
|
||||
/// Additional arguments to `rustfmt`.
|
||||
|
@ -105,7 +105,7 @@
|
||||
[[rust-analyzer.runnables.cargoExtraArgs]]rust-analyzer.runnables.cargoExtraArgs (default: `[]`)::
|
||||
Additional arguments to be passed to cargo for runnables such as tests or binaries.\nFor example, it may be `--release`.
|
||||
[[rust-analyzer.rustcSource]]rust-analyzer.rustcSource (default: `null`)::
|
||||
Path to the rust compiler sources, for usage in rustc_private projects, or "discover" to try to automatically find it.
|
||||
Path to the rust compiler sources, for usage in rustc_private projects, or "discover" to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.
|
||||
[[rust-analyzer.rustfmt.extraArgs]]rust-analyzer.rustfmt.extraArgs (default: `[]`)::
|
||||
Additional arguments to `rustfmt`.
|
||||
[[rust-analyzer.rustfmt.overrideCommand]]rust-analyzer.rustfmt.overrideCommand (default: `null`)::
|
||||
|
@ -707,7 +707,7 @@
|
||||
}
|
||||
},
|
||||
"rust-analyzer.rustcSource": {
|
||||
"markdownDescription": "Path to the rust compiler sources, for usage in rustc_private projects, or \"discover\" to try to automatically find it.",
|
||||
"markdownDescription": "Path to the rust compiler sources, for usage in rustc_private projects, or \"discover\" to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.",
|
||||
"default": null,
|
||||
"type": [
|
||||
"null",
|
||||
|
Loading…
x
Reference in New Issue
Block a user