diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-11-05 15:58:23 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-11-05 15:58:23 +0000 |
commit | 670a08409dccac2daa7fd42709d3dc5de9d54087 (patch) | |
tree | 55bab12e154aa148dc3be17e149676d6f1386ba8 | |
parent | 73f09c961b009da90ed30e78985f927578426ce0 (diff) | |
download | haskell-670a08409dccac2daa7fd42709d3dc5de9d54087.tar.gz |
try some hadrian buferingwip/python-buffer
-rw-r--r-- | hadrian/src/Main.hs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |