mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-06 04:08:40 +00:00
Add more documentation for rustc_private
This commit is contained in:
parent
c48478621f
commit
c7b0914b3f
@ -180,10 +180,14 @@ config_data! {
|
|||||||
/// tests or binaries.\nFor example, it may be `--release`.
|
/// tests or binaries.\nFor example, it may be `--release`.
|
||||||
runnables_cargoExtraArgs: Vec<String> = "[]",
|
runnables_cargoExtraArgs: Vec<String> = "[]",
|
||||||
|
|
||||||
/// Path to the rust compiler sources, for usage in rustc_private projects, or "discover"
|
/// Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private
|
||||||
/// to try to automatically find it. Any project which uses rust-analyzer with the rustcPrivate
|
/// 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.
|
/// crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.
|
||||||
rustcSource : Option<String> = "null",
|
///
|
||||||
|
/// This option is not reloaded automatically; you must restart rust-analyzer for it to take effect.
|
||||||
|
rustcSource: Option<String> = "null",
|
||||||
|
|
||||||
/// Additional arguments to `rustfmt`.
|
/// Additional arguments to `rustfmt`.
|
||||||
rustfmt_extraArgs: Vec<String> = "[]",
|
rustfmt_extraArgs: Vec<String> = "[]",
|
||||||
|
@ -107,7 +107,7 @@
|
|||||||
[[rust-analyzer.runnables.cargoExtraArgs]]rust-analyzer.runnables.cargoExtraArgs (default: `[]`)::
|
[[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`.
|
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`)::
|
[[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. Any project which uses rust-analyzer with the rustcPrivate crates must set `[package.metadata.rust-analyzer] rustc_private=true` to use it.
|
Path to the Cargo.toml of the rust compiler workspace, 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. This option is not reloaded automatically; you must restart rust-analyzer for it to take effect.
|
||||||
[[rust-analyzer.rustfmt.extraArgs]]rust-analyzer.rustfmt.extraArgs (default: `[]`)::
|
[[rust-analyzer.rustfmt.extraArgs]]rust-analyzer.rustfmt.extraArgs (default: `[]`)::
|
||||||
Additional arguments to `rustfmt`.
|
Additional arguments to `rustfmt`.
|
||||||
[[rust-analyzer.rustfmt.overrideCommand]]rust-analyzer.rustfmt.overrideCommand (default: `null`)::
|
[[rust-analyzer.rustfmt.overrideCommand]]rust-analyzer.rustfmt.overrideCommand (default: `null`)::
|
||||||
|
@ -713,7 +713,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer.rustcSource": {
|
"rust-analyzer.rustcSource": {
|
||||||
"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.",
|
"markdownDescription": "Path to the Cargo.toml of the rust compiler workspace, 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. This option is not reloaded automatically; you must restart rust-analyzer for it to take effect.",
|
||||||
"default": null,
|
"default": null,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
|
Loading…
Reference in New Issue
Block a user