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;
|
||||
}
|
||||
|
||||
let args = 'check --message-format json';
|
||||
let args = 'check --all-targets --message-format json';
|
||||
if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
|
||||
// Excape the double quote string:
|
||||
args += ' ' + Server.config.cargoWatchOptions.checkArguments;
|
||||
|
|
Loading…
Add table
Reference in a new issue