Retain CAFs in the interpreter
Compare changes
+ 3
− 0
@@ -99,6 +99,9 @@ Executable iserv-proxy
iserv-proxy-interpreter dynamically loads libraries. It must retain CAFs to avoid issues like:
iserv-proxy-interpreter.exe:internal error:Evaluated a CAF that was GC'd!
ghc-lib uses a hacky keepCAFsForGHCi.c file; iserv still uses a custom hs-main C file. We use -fkeep-cafs as it has the same effect.