From 854dac335d3e8295fba637ad6413d952e6b973ef Mon Sep 17 00:00:00 2001 From: Aleksi Juvani Date: Tue, 21 May 2019 09:44:28 +0300 Subject: Pass `--all-targets` to `cargo watch` --- editors/code/src/commands/cargo_watch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors/code') diff --git a/editors/code/src/commands/cargo_watch.ts b/editors/code/src/commands/cargo_watch.ts index 1d939e28c..6ba794bb3 100644 --- a/editors/code/src/commands/cargo_watch.ts +++ b/editors/code/src/commands/cargo_watch.ts @@ -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; -- cgit v1.2.3