mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Document rustc source auto-discovery
This commit is contained in:
parent
5e8f4dc30d
commit
e43e1240a7
3 changed files with 7 additions and 5 deletions
|
@ -263,12 +263,13 @@ config_data! {
|
|||
runnables_cargoExtraArgs: Vec<String> = "[]",
|
||||
|
||||
/// Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private
|
||||
/// projects, or "discover" to try to automatically find it.
|
||||
/// projects, or "discover" to try to automatically find it if the `rustc-dev` component
|
||||
/// is installed.
|
||||
///
|
||||
/// 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.
|
||||
/// This option does not take effect until rust-analyzer is restarted.
|
||||
rustcSource: Option<String> = "null",
|
||||
|
||||
/// Additional arguments to `rustfmt`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue