[Git][ghc/ghc][master] JS: replace "js" architecture with "javascript"
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Mon Feb 6 14:43:40 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
6636b670 by Sylvain Henry at 2023-02-06T09:43:21-05:00
JS: replace "js" architecture with "javascript"
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: Ben Gamari <ben at smart-cactus.org>
- - - - -
30 changed files:
- .gitlab/gen_ci.hs
- .gitlab/jobs.yaml
- compiler/GHC.hs
- config.sub
- configure.ac
- hadrian/bindist/config.mk.in
- hadrian/src/Oracles/Flag.hs
- hadrian/src/Oracles/Setting.hs
- libraries/base/Control/Concurrent.hs
- libraries/base/GHC/Conc/IO.hs
- libraries/base/GHC/Conc/Windows.hs
- libraries/base/GHC/Event.hs
- libraries/base/GHC/Event/Thread.hs
- libraries/base/GHC/Event/TimerManager.hs
- libraries/base/GHC/IO/Encoding.hs
- libraries/base/GHC/IO/Encoding/CodePage/API.hs
- libraries/base/GHC/IO/FD.hs
- libraries/base/GHC/JS/Prim.hs
- libraries/base/GHC/JS/Prim/Internal/Build.hs
- libraries/base/GHC/Stack/CCS.hsc
- libraries/base/GHC/TopHandler.hs
- libraries/base/GHC/Windows.hs
- libraries/base/System/CPUTime.hsc
- libraries/base/System/Environment.hs
- libraries/base/System/Environment/ExecutablePath.hsc
- libraries/base/System/Posix/Internals.hs
- libraries/base/System/Timeout.hs
- libraries/base/base.cabal
- libraries/ghc-boot/GHC/Platform/ArchOS.hs
- libraries/ghci/GHCi/CreateBCO.hs
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6636b670233522f01d002c9b97827d00289dbf5c
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/6636b670233522f01d002c9b97827d00289dbf5c
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230206/f498a363/attachment.html>
More information about the ghc-commits
mailing list