mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
invoke cmake check with run_always
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
37ce36f130
commit
f6d3cd7345
@ -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!(
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user