@@ -294,19 +294,19 @@ than building it.
294294 }
295295 }
296296
297- for host in & build. hosts {
298- if ! build. config . dry_run ( ) {
297+ if ! build. config . dry_run ( ) {
298+ for host in & build. hosts {
299299 cmd_finder. must_have ( build. cxx ( * host) . unwrap ( ) ) ;
300- }
301300
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+ }
310310 }
311311 }
312312 }
@@ -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