• Simon Marlow's avatar
    Add -fwhole-archive-hs-libs · a6874e54
    Simon Marlow authored
    We're building a demo to show how to hot-swap Haskell code in a
    running process, and unfortunately it wasn't possible to convince GHC
    to generate the correct linker command line without this extra knob.
    
    Test Plan:
    Tested it on a hot-swapping demo (which is not released yet, but will
    be shortly)
    
    Reviewers: niteria, austin, erikd, JonCoens, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: Phyx, rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3136
    a6874e54
DynFlags.hs 218 KB