[Git][ghc/ghc][master] Fix the OS string encoding for GNU/Hurd
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 7f15bd15 by Samuel Thibault at 2026-01-12T07:16:25-05:00 Fix the OS string encoding for GNU/Hurd Following https://github.com/haskell/cabal/pull/9434/files , and as seen in the various gnu_HOST_OS usages in the source code, it is expected that GNU/Hurd is advertised as "gnu", like the autotools do. - - - - - 1 changed file: - libraries/ghc-platform/src/GHC/Platform/ArchOS.hs Changes: ===================================== libraries/ghc-platform/src/GHC/Platform/ArchOS.hs ===================================== @@ -156,7 +156,7 @@ stringEncodeOS = \case OSHaiku -> "haiku" OSQNXNTO -> "nto-qnx" OSAIX -> "aix" - OSHurd -> "hurd" + OSHurd -> "gnu" OSWasi -> "wasi" OSGhcjs -> "ghcjs" View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7f15bd151a358113609518d52829fb40... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7f15bd151a358113609518d52829fb40... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)