mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Pass --all-targets
to cargo watch
This commit is contained in:
parent
4369c1c4a1
commit
854dac335d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export class CargoWatchProvider implements vscode.Disposable {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let args = 'check --message-format json';
|
let args = 'check --all-targets --message-format json';
|
||||||
if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
|
if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
|
||||||
// Excape the double quote string:
|
// Excape the double quote string:
|
||||||
args += ' ' + Server.config.cargoWatchOptions.checkArguments;
|
args += ' ' + Server.config.cargoWatchOptions.checkArguments;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue