Skip to content

Commit

Permalink
since 595013d41464c1e328369bb81ce0ea2814e91b68
Browse files Browse the repository at this point in the history
  • Loading branch information
shayne-fletcher committed Jan 24, 2025
1 parent d47f87c commit 89092a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ data DaFlavor = DaFlavor

-- Last tested gitlab.haskell.org/ghc/ghc.git at
current :: String
current = "278a53ee698d961d97afb60be9db2d8bf60b4074" -- 2024-12-30
current = "595013d41464c1e328369bb81ce0ea2814e91b68" -- 2025-01-24

ghcFlavorOpt :: GhcFlavor -> String
ghcFlavorOpt = \case
Expand Down
8 changes: 6 additions & 2 deletions ghc-lib-gen/src/Ghclibgen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,12 @@ mangleCSymbols ghcFlavor = do
in writeFile file
. prefixSymbol genSym
. prefixSymbol initGenSym
. replace "#if !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)" "#if !MIN_VERSION_GLASGOW_HASKELL(9,8,4,0)"
=<< readFile' file
=<< readFile' file
when (ghcFlavor <= Ghc9121) $
let file = "compiler/cbits/genSym.c"
in writeFile file
. replace "#if !MIN_VERSION_GLASGOW_HASKELL(9,9,0,0)" "#if !MIN_VERSION_GLASGOW_HASKELL(9,8,4,0)"
=<< readFile' file
when (ghcFlavor == Ghc984) $
let file = "compiler/cbits/genSym.c"
in writeFile file
Expand Down

0 comments on commit 89092a2

Please sign in to comment.