From f6d3cd73458ca5e9fca2e4fbf08c31b44fc15358 Mon Sep 17 00:00:00 2001 From: onur-ozkan Date: Mon, 23 Sep 2024 19:47:12 +0300 Subject: [PATCH] invoke cmake check with `run_always` Signed-off-by: onur-ozkan --- src/bootstrap/src/core/sanity.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bootstrap/src/core/sanity.rs b/src/bootstrap/src/core/sanity.rs index 2e3b913ba95b..be8d12feba47 100644 --- a/src/bootstrap/src/core/sanity.rs +++ b/src/bootstrap/src/core/sanity.rs @@ -355,7 +355,8 @@ than building it. // There are three builds of cmake on windows: MSVC, MinGW, and // Cygwin. The Cygwin build does not have generators for Visual // Studio, so detect that here and error. - let out = command("cmake").arg("--help").run_capture_stdout(build).stdout(); + let out = + command("cmake").arg("--help").run_always().run_capture_stdout(build).stdout(); if !out.contains("Visual Studio") { panic!( "