Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 346f2f5a by Cheng Shao at 2026-01-20T13:59:30-05:00 hadrian: remove RTS options in ghc-in-ghci flavour This patch removes the RTS options passed to ghc in ghc-in-ghci flavour, to workaround command line argument handling issue in hls/hie-boot that results in `-O64M` instead of `+RTS -O64M -RTS` being passed to ghc. It's not a hadrian bug per se, since ghc's own ghc-in-ghci multi repl works fine, but we should still make sure HLS works. Closes #26801. - - - - - 1 changed file: - hadrian/src/Settings/Flavours/GhcInGhci.hs Changes: ===================================== hadrian/src/Settings/Flavours/GhcInGhci.hs ===================================== @@ -22,7 +22,7 @@ ghcInGhciFlavour = defaultFlavour ghciArgs :: Args ghciArgs = sourceArgs SourceArgs { hsDefault = mconcat $ - [ pure ["-O0", "+RTS", "-O64M", "-RTS"] + [ pure ["-O0"] ] , hsLibrary = mempty , hsCompiler = mempty View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/346f2f5ab3a9a9e43fdcec477fb5bb11... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/346f2f5ab3a9a9e43fdcec477fb5bb11... You're receiving this email because of your account on gitlab.haskell.org.