summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorCheng Shao <terrorjack@type.dance>2023-01-18 13:06:39 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-23 04:52:21 -0500
commitdb0f1bfd0cada59d8a8673e98fc40e8b9c11a9c5 (patch)
treeee84a288993e36249ebfc396b4474acfd43038d0 /.gitlab
parent0900b58432c0e42263c62b0e151b0268129a290a (diff)
downloadhaskell-db0f1bfd0cada59d8a8673e98fc40e8b9c11a9c5.tar.gz
Bump process submodule
Includes a critical fix for wasm32, see https://github.com/haskell/process/pull/272 for details. Also changes the existing cross test to include process stuff and avoid future regression here.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/hello.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab/hello.hs b/.gitlab/hello.hs
index 2837cac62d..74ab771132 100644
--- a/.gitlab/hello.hs
+++ b/.gitlab/hello.hs
@@ -1,4 +1,4 @@
-{-# OPTIONS_GHC -Wno-missing-fields #-}
+{-# OPTIONS_GHC -Wall -Wno-missing-fields #-}
import GHC hiding (parseModule)
import GHC.Data.StringBuffer
@@ -9,6 +9,7 @@ import GHC.Platform
import GHC.Plugins
import GHC.Settings
import GHC.Settings.Config
+import System.Mem.Weak
fakeSettings :: Settings
fakeSettings =
@@ -41,5 +42,6 @@ parse dflags src = do
main :: IO ()
main = do
+ _ <- mkWeak runGhc runGhc Nothing
m <- parse fakeDynFlags "main = putStrLn \"hello world\""
putStrLn $ showSDoc fakeDynFlags $ ppr m