Skip to content

Commit f6d3cd7

Browse files
committed
invoke cmake check with run_always
Signed-off-by: onur-ozkan <[email protected]>
1 parent 37ce36f commit f6d3cd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/src/core/sanity.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ than building it.
355355
// There are three builds of cmake on windows: MSVC, MinGW, and
356356
// Cygwin. The Cygwin build does not have generators for Visual
357357
// Studio, so detect that here and error.
358-
let out = command("cmake").arg("--help").run_capture_stdout(build).stdout();
358+
let out =
359+
command("cmake").arg("--help").run_always().run_capture_stdout(build).stdout();
359360
if !out.contains("Visual Studio") {
360361
panic!(
361362
"

0 commit comments

Comments
 (0)