diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2023-05-12 11:50:43 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-05-15 14:50:07 -0400 |
commit | 2f571afe1c2aeb3f4dfca2012bc6b713144fd234 (patch) | |
tree | 5e564313858d57f18b8e8469fe60a212697b9cd6 /libraries/ghc-boot | |
parent | 5ae81842d36a6091b406bfce98c60e8a7fa24240 (diff) | |
download | haskell-2f571afe1c2aeb3f4dfca2012bc6b713144fd234.tar.gz |
Fix GHCJS OS platform (fix #23346)
Diffstat (limited to 'libraries/ghc-boot')
-rw-r--r-- | libraries/ghc-boot/GHC/Platform/ArchOS.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ghc-boot/GHC/Platform/ArchOS.hs b/libraries/ghc-boot/GHC/Platform/ArchOS.hs index 26a319ba13..4aa42baa3b 100644 --- a/libraries/ghc-boot/GHC/Platform/ArchOS.hs +++ b/libraries/ghc-boot/GHC/Platform/ArchOS.hs @@ -98,6 +98,7 @@ data OS | OSAIX | OSHurd | OSWasi + | OSGhcjs deriving (Read, Show, Eq, Ord) @@ -157,3 +158,4 @@ stringEncodeOS = \case OSAIX -> "aix" OSHurd -> "hurd" OSWasi -> "wasi" + OSGhcjs -> "ghcjs" |