From 670a08409dccac2daa7fd42709d3dc5de9d54087 Mon Sep 17 00:00:00 2001 From: Matthew Pickering Date: Fri, 5 Nov 2021 15:58:23 +0000 Subject: try some hadrian bufering --- hadrian/src/Main.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hadrian/src/Main.hs b/hadrian/src/Main.hs index d2e0ace795..c566a2b0cf 100644 --- a/hadrian/src/Main.hs +++ b/hadrian/src/Main.hs @@ -23,9 +23,12 @@ import qualified Rules.Selftest import qualified Rules.SourceDist import qualified Rules.Test import qualified UserSettings +import System.IO main :: IO () main = do + hSetBuffering stdout NoBuffering + hSetBuffering stderr NoBuffering -- Provide access to command line arguments and some user settings through -- Shake's type-indexed map 'shakeExtra'. argsMap <- CommandLine.cmdLineArgsMap -- cgit v1.2.1