[commit: ghc] ghc-8.0: Allow all RTS options to iserv (ac11de6)

git at git.haskell.org git at git.haskell.org
Thu Feb 4 10:46:36 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/ac11de6c4775bb08fbdfbf35536dc39a425508f0/ghc

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

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

    Allow all RTS options to iserv
    
    (cherry picked from commit db121b2ec4596b99fed9781ec2d055f29e0d5b20)


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

ac11de6c4775bb08fbdfbf35536dc39a425508f0
 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