Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Sylvain Henry's avatar
    bafa3899
    JS: replace "js" architecture with "javascript" · bafa3899
    Sylvain Henry authored
    
    Despite Cabal supporting any architecture name, `cabal --check` only
    supports a few built-in ones. Sadly `cabal --check` is used by Hackage
    hence using any non built-in name in a package (e.g. `arch(js)`) is
    rejected and the package is prevented from being uploaded on Hackage.
    
    Luckily built-in support for the `javascript` architecture was added for
    GHCJS a while ago. In order to allow newer `base` to be uploaded on
    Hackage we make the switch from `js` to `javascript` architecture.
    
    Fixes #22740.
    
    Co-authored-by: default avatarBen Gamari <ben@smart-cactus.org>
    (cherry picked from commit 6636b670)
    bafa3899
    History
    JS: replace "js" architecture with "javascript"
    Sylvain Henry authored
    
    Despite Cabal supporting any architecture name, `cabal --check` only
    supports a few built-in ones. Sadly `cabal --check` is used by Hackage
    hence using any non built-in name in a package (e.g. `arch(js)`) is
    rejected and the package is prevented from being uploaded on Hackage.
    
    Luckily built-in support for the `javascript` architecture was added for
    GHCJS a while ago. In order to allow newer `base` to be uploaded on
    Hackage we make the switch from `js` to `javascript` architecture.
    
    Fixes #22740.
    
    Co-authored-by: default avatarBen Gamari <ben@smart-cactus.org>
    (cherry picked from commit 6636b670)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.