mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-06 10:18:53 +00:00
extend check.overrideCommand and buildScripts.overrideCommand docs regarding invocation strategy and location
This commit is contained in:
parent
9b3d03408c
commit
940d87b2d0
1 changed files with 9 additions and 1 deletions
|
@ -90,6 +90,12 @@ config_data! {
|
||||||
/// and should therefore include `--message-format=json` or a similar
|
/// and should therefore include `--message-format=json` or a similar
|
||||||
/// option.
|
/// option.
|
||||||
///
|
///
|
||||||
|
/// If there are multiple linked projects, this command is invoked for
|
||||||
|
/// each of them, with the working directory being the project root
|
||||||
|
/// (i.e., the folder containing the `Cargo.toml`). This can be overwritten
|
||||||
|
/// by changing `#rust-analyzer.cargo.buildScripts.invocationStrategy#` and
|
||||||
|
/// `#rust-analyzer.cargo.buildScripts.invocationLocation#`.
|
||||||
|
///
|
||||||
/// By default, a cargo invocation will be constructed for the configured
|
/// By default, a cargo invocation will be constructed for the configured
|
||||||
/// targets and features, with the following base command line:
|
/// targets and features, with the following base command line:
|
||||||
///
|
///
|
||||||
|
@ -183,7 +189,9 @@ config_data! {
|
||||||
///
|
///
|
||||||
/// If there are multiple linked projects, this command is invoked for
|
/// If there are multiple linked projects, this command is invoked for
|
||||||
/// each of them, with the working directory being the project root
|
/// each of them, with the working directory being the project root
|
||||||
/// (i.e., the folder containing the `Cargo.toml`).
|
/// (i.e., the folder containing the `Cargo.toml`). This can be overwritten
|
||||||
|
/// by changing `#rust-analyzer.cargo.check.invocationStrategy#` and
|
||||||
|
/// `#rust-analyzer.cargo.check.invocationLocation#`.
|
||||||
///
|
///
|
||||||
/// An example command would be:
|
/// An example command would be:
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue