mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Add --keep-going to rust-analyzer.cargo.buildScripts.overrideCommand docs
This commit is contained in:
parent
26747bd1e5
commit
f0c3cb3738
3 changed files with 3 additions and 3 deletions
|
@ -108,7 +108,7 @@ config_data! {
|
||||||
/// targets and features, with the following base command line:
|
/// targets and features, with the following base command line:
|
||||||
///
|
///
|
||||||
/// ```bash
|
/// ```bash
|
||||||
/// cargo check --quiet --workspace --message-format=json --all-targets
|
/// cargo check --quiet --workspace --message-format=json --all-targets --keep-going
|
||||||
/// ```
|
/// ```
|
||||||
/// .
|
/// .
|
||||||
cargo_buildScripts_overrideCommand: Option<Vec<String>> = None,
|
cargo_buildScripts_overrideCommand: Option<Vec<String>> = None,
|
||||||
|
|
|
@ -82,7 +82,7 @@ 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:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cargo check --quiet --workspace --message-format=json --all-targets
|
cargo check --quiet --workspace --message-format=json --all-targets --keep-going
|
||||||
```
|
```
|
||||||
.
|
.
|
||||||
--
|
--
|
||||||
|
|
|
@ -718,7 +718,7 @@
|
||||||
"title": "cargo",
|
"title": "cargo",
|
||||||
"properties": {
|
"properties": {
|
||||||
"rust-analyzer.cargo.buildScripts.overrideCommand": {
|
"rust-analyzer.cargo.buildScripts.overrideCommand": {
|
||||||
"markdownDescription": "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.cargo.buildScripts.invocationStrategy#` and\n`#rust-analyzer.cargo.buildScripts.invocationLocation#`.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets\n```\n.",
|
"markdownDescription": "Override the command rust-analyzer uses to run build scripts and\nbuild procedural macros. The command is required to output json\nand should therefore include `--message-format=json` or a similar\noption.\n\nIf there are multiple linked projects/workspaces, this command is invoked for\neach of them, with the working directory being the workspace root\n(i.e., the folder containing the `Cargo.toml`). This can be overwritten\nby changing `#rust-analyzer.cargo.buildScripts.invocationStrategy#` and\n`#rust-analyzer.cargo.buildScripts.invocationLocation#`.\n\nBy default, a cargo invocation will be constructed for the configured\ntargets and features, with the following base command line:\n\n```bash\ncargo check --quiet --workspace --message-format=json --all-targets --keep-going\n```\n.",
|
||||||
"default": null,
|
"default": null,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
|
|
Loading…
Reference in a new issue