summaryrefslogtreecommitdiff
path: root/erebos-tester.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'erebos-tester.cabal')
-rw-r--r--erebos-tester.cabal7
1 files changed, 7 insertions, 0 deletions
diff --git a/erebos-tester.cabal b/erebos-tester.cabal
index 18f0283..0cacc52 100644
--- a/erebos-tester.cabal
+++ b/erebos-tester.cabal
@@ -43,6 +43,13 @@ common common
executable erebos-tester
import: common
+ ghc-options:
+ -- disable interval timer to avoid spawing thread that breaks unshare(CLONE_NEWUSER)
+ -with-rtsopts=-V0
+ if impl(ghc >= 9.8)
+ ghc-options:
+ -- no multithreading is allowed for unshare(CLONE_NEWUSER)
+ -single-threaded
main-is: Wrapper.hs
-- other-modules: