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
1 changed file:
Changes:
| 1 | 1 | section: compiler
|
| 2 | -synopsis: Set the environment variable GHC_VERSION when calling custom pre-processors
|
|
| 2 | +synopsis:
|
|
| 3 | + Set the environment variable `GHC_VERSION` to the current GHC version when
|
|
| 4 | + invoking custom pre-processors, so that pre-processors can emit backwards
|
|
| 5 | + compatible code without relying on CPP.
|
|
| 3 | 6 | issues: #25952
|
| 4 | -mrs: |
|
| 7 | +mrs: !16224 |