Andrea Vezzosi pushed to branch wip/romes/async-rpc at Glasgow Haskell Compiler / GHC Commits: 5cdbff30 by Andrea Vezzosi at 2026-11-30T21:38:31+01:00 fixup! interp: print exit code if non-zero when iserv terminates - - - - - 1 changed file: - compiler/GHC/Runtime/Interpreter.hs Changes: ===================================== compiler/GHC/Runtime/Interpreter.hs ===================================== @@ -724,7 +724,6 @@ stopInterpWhen shouldStop (SafeInterp interp) = case interpInstance interp of gracefulShutdown :: ExtInterpInstance c -> IORef (Maybe ExitCode) -> (forall a. IO a -> IO a) -> IO (Either SomeException (Maybe ExitCode)) gracefulShutdown i ecRef restore = do x <- try (liftM2 (>>) (timeLimited restore (sendMessage i Shutdown)) (timeLimited restore (closePipe (interpPipe (instProcess i))))) - print x let ph = interpHandle (instProcess i) e <- case x of -- happy path: ext. interp. should be shutting down of its own accord. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5cdbff3083e347da41a0093a6ba9565e... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5cdbff3083e347da41a0093a6ba9565e... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help