Wolfgang Jeltsch pushed to branch wip/jeltsch/ghc-9-14-building-base at Glasgow Haskell Compiler / GHC Commits: 0381403a by Wolfgang Jeltsch at 2026-09-10T12:52:11+03:00 Make only `-fdefines-known-key-names` conditional - - - - - 2 changed files: - libraries/base/base.cabal.in - libraries/base/src/GHC/Essentials.hs Changes: ===================================== libraries/base/base.cabal.in ===================================== @@ -308,11 +308,9 @@ Library other-modules: Data.List.NubOrdSet + GHC.Essentials System.CPUTime.Unsupported System.CPUTime.Utils - if impl(ghc >= 10.1) - other-modules: - GHC.Essentials if os(windows) other-modules: System.CPUTime.Windows ===================================== libraries/base/src/GHC/Essentials.hs ===================================== @@ -1,6 +1,9 @@ {-# LANGUAGE MagicHash, Trustworthy, RankNTypes, CPP #-} {-# OPTIONS_HADDOCK hide #-} + +#if __GLASGOW_HASKELL__ >= 1001 {-# OPTIONS_GHC -fdefines-known-key-names #-} -- See Note [JS/WASM primitives known-keys for other targets] +#endif -- | -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0381403a2b142eb03062a3c322d127ed... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0381403a2b142eb03062a3c322d127ed... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help
participants (1)
-
Wolfgang Jeltsch (@jeltsch)