Skip to content
Snippets Groups Projects
Commit 320b0783 authored by Sylvain Henry's avatar Sylvain Henry
Browse files

Retain CAFs in the interpreter

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.
parent 6e95df7b
No related branches found
No related tags found
1 merge request!1Retain CAFs in the interpreter
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment