Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #17561 - mo8it:keep-going, r=Veykril
Add --keep-going to the check command Fixes https://github.com/rust-lang/rustlings/issues/1628 `@Veykril` I am not sure about what you meant with "unconditionally" in https://github.com/rust-lang/rustlings/issues/1628#issuecomment-2212492230, but I didn't find out how to get the version of the toolchain anyway to do a check like in [this snippet](https://github.com/rust-lang/rust-analyzer/blob/a5b21ea0aa644dffd7cf958b43f11f221d53404e/crates/project-model/src/build_scripts.rs#L125-L127). Is this check even required if rust-analyzer was installed with the toolchain? `--keep-going` was [stabilized in 1.74](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-174-2023-11-16)
bors 2024-07-08
parent a5b21ea · parent 9d01d7c · commit 8f841ca
-rw-r--r--crates/flycheck/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs
index a257633516..778def5d2b 100644
--- a/crates/flycheck/src/lib.rs
+++ b/crates/flycheck/src/lib.rs
@@ -426,6 +426,8 @@ impl FlycheckActor {
}
}
+ cmd.arg("--keep-going");
+
options.apply_on_command(&mut cmd);
(cmd, options.extra_args.clone())
}