Wolfgang Jeltsch pushed to branch wip/jeltsch/ghc-9-14-building-base at Glasgow Haskell Compiler / GHC

Commits:

2 changed files:

Changes:

  • libraries/base/base.cabal.in
    ... ... @@ -308,11 +308,9 @@ Library
    308 308
     
    
    309 309
         other-modules:
    
    310 310
             Data.List.NubOrdSet
    
    311
    +        GHC.Essentials
    
    311 312
             System.CPUTime.Unsupported
    
    312 313
             System.CPUTime.Utils
    
    313
    -    if impl(ghc >= 10.1)
    
    314
    -      other-modules:
    
    315
    -        GHC.Essentials
    
    316 314
         if os(windows)
    
    317 315
           other-modules:
    
    318 316
             System.CPUTime.Windows
    

  • libraries/base/src/GHC/Essentials.hs
    1 1
     {-# LANGUAGE MagicHash, Trustworthy, RankNTypes, CPP #-}
    
    2 2
     {-# OPTIONS_HADDOCK hide #-}
    
    3
    +
    
    4
    +#if __GLASGOW_HASKELL__ >= 1001
    
    3 5
     {-# OPTIONS_GHC -fdefines-known-key-names #-} -- See Note [JS/WASM primitives known-keys for other targets]
    
    6
    +#endif
    
    4 7
     
    
    5 8
     -- |
    
    6 9
     --