@@ -294,19 +294,19 @@ than building it.
294
294
}
295
295
}
296
296
297
- for host in & build. hosts {
298
- if ! build. config . dry_run ( ) {
297
+ if ! build. config . dry_run ( ) {
298
+ for host in & build. hosts {
299
299
cmd_finder. must_have ( build. cxx ( * host) . unwrap ( ) ) ;
300
- }
301
300
302
- if build. config . llvm_enabled ( * host) {
303
- // Externally configured LLVM requires FileCheck to exist
304
- let filecheck = build. llvm_filecheck ( build. build ) ;
305
- if !filecheck. starts_with ( & build. out )
306
- && !filecheck. exists ( )
307
- && build. config . codegen_tests
308
- {
309
- panic ! ( "FileCheck executable {filecheck:?} does not exist" ) ;
301
+ if build. config . llvm_enabled ( * host) {
302
+ // Externally configured LLVM requires FileCheck to exist
303
+ let filecheck = build. llvm_filecheck ( build. build ) ;
304
+ if !filecheck. starts_with ( & build. out )
305
+ && !filecheck. exists ( )
306
+ && build. config . codegen_tests
307
+ {
308
+ panic ! ( "FileCheck executable {filecheck:?} does not exist" ) ;
309
+ }
310
310
}
311
311
}
312
312
}
@@ -355,7 +355,8 @@ than building it.
355
355
// There are three builds of cmake on windows: MSVC, MinGW, and
356
356
// Cygwin. The Cygwin build does not have generators for Visual
357
357
// 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 ( ) ;
359
360
if !out. contains ( "Visual Studio" ) {
360
361
panic ! (
361
362
"
0 commit comments