diff options
| author | onur-ozkan <work@onurozkan.dev> | 2024-09-23 19:47:12 +0300 |
|---|---|---|
| committer | onur-ozkan <work@onurozkan.dev> | 2024-09-23 19:47:12 +0300 |
| commit | f6d3cd73458ca5e9fca2e4fbf08c31b44fc15358 (patch) | |
| tree | b9276546a4754652f64ae8ba91b543c3a9cbc67f /src/bootstrap | |
| parent | 37ce36f130267a4d2dedc3ec143af4e5520a1fbc (diff) | |
| download | rust-f6d3cd73458ca5e9fca2e4fbf08c31b44fc15358.tar.gz rust-f6d3cd73458ca5e9fca2e4fbf08c31b44fc15358.zip | |
invoke cmake check with `run_always`
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/sanity.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/sanity.rs b/src/bootstrap/src/core/sanity.rs index 2e3b913ba95..be8d12feba4 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!( " |
