Skip to content
Snippets Groups Projects

Retain CAFs in the interpreter

Merged Sylvain Henry requested to merge hsyl20/iserv-proxy:hsyl20/fix-keepcafs into master

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading