Skip to content

Commit cec5509

Browse files
committed
Show logs on failure when building boot libs
1 parent c1c8008 commit cec5509

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Build.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ buildBootLibraries cabal ghc ghcpkg derive_constants genapply genprimop opts dst
633633
ExitSuccess -> pure ()
634634
ExitFailure r -> do
635635
putStrLn $ "Failed to build boot libraries with error code " ++ show r
636+
putStrLn boot_stdout
637+
putStrLn boot_stderr
636638
putStrLn $ "Logs can be found in " ++ dst ++ "boot-libs.{stdout,stderr}"
637639
exitFailure
638640

0 commit comments

Comments
 (0)