Simon Hengel pushed to branch wip/sol/pp-set-ghc-version at Glasgow Haskell Compiler / GHC Commits: 685ecb2f by Simon Hengel at 2026-06-20T21:04:40+07:00 Edit pp-set-ghc-version - - - - - 1 changed file: - changelog.d/pp-set-ghc-version Changes: ===================================== changelog.d/pp-set-ghc-version ===================================== @@ -1,4 +1,7 @@ section: compiler -synopsis: Set the environment variable GHC_VERSION when calling custom pre-processors +synopsis: + Set the environment variable `GHC_VERSION` to the current GHC version when + invoking custom pre-processors, so that pre-processors can emit backwards + compatible code without relying on CPP. issues: #25952 -mrs: +mrs: !16224 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/685ecb2ff464a9e76586b4d927ff0340... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/685ecb2ff464a9e76586b4d927ff0340... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Hengel (@sol)