[Git][ghc/ghc][wip/sv/T25246-b] Temp workaround

Sjoerd Visscher (@trac-sjoerd_visscher) gitlab at gitlab.haskell.org
Thu Oct 17 12:10:02 UTC 2024



Sjoerd Visscher pushed to branch wip/sv/T25246-b at Glasgow Haskell Compiler / GHC


Commits:
fb6fbede by Sjoerd Visscher at 2024-10-17T14:09:55+02:00
Temp workaround

- - - - -


1 changed file:

- utils/haddock/haddock-api/src/Haddock.hs


Changes:

=====================================
utils/haddock/haddock-api/src/Haddock.hs
=====================================
@@ -202,7 +202,8 @@ haddockWithGhc ghc args = handleTopExceptions $ do
     when noChecks $
       hPutStrLn stderr noCheckWarning
 
-  ghc flags' $ withDir $ do
+  unless ("ghc-prim" `elem` ghcFlags flags')
+   $ ghc flags' $ withDir $ do
     dflags' <- getDynFlags
     let unicode = Flag_UseUnicode `elem` flags
     let dflags



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fb6fbede6115cabfd0374d197fb8a875ec7216c9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/fb6fbede6115cabfd0374d197fb8a875ec7216c9
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241017/b7606c3b/attachment.html>


More information about the ghc-commits mailing list