[commit: ghc] master: Allow all RTS options to iserv (db121b2)

git at git.haskell.org git at git.haskell.org
Wed Feb 3 15:47:26 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/db121b2ec4596b99fed9781ec2d055f29e0d5b20/ghc

>---------------------------------------------------------------

commit db121b2ec4596b99fed9781ec2d055f29e0d5b20
Author: Simon Marlow <smarlow at fb.com>
Date:   Wed Feb 3 07:33:40 2016 -0800

    Allow all RTS options to iserv


>---------------------------------------------------------------

db121b2ec4596b99fed9781ec2d055f29e0d5b20
 iserv/cbits/iservmain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iserv/cbits/iservmain.c b/iserv/cbits/iservmain.c
index f7eb566..daefd35 100644
--- a/iserv/cbits/iservmain.c
+++ b/iserv/cbits/iservmain.c
@@ -11,6 +11,7 @@ int main (int argc, char *argv[])
     // we must retain CAFs for running interpreted code.
     conf.keep_cafs = 1;
 
+    conf.rts_opts_enabled = RtsOptsAll;
     extern StgClosure ZCMain_main_closure;
     hs_main(argc, argv, &ZCMain_main_closure, conf);
 }



More information about the ghc-commits mailing list