• Ben Gamari's avatar
    hschooks.c: Ensure correct header file is included · 795f8bd4
    Ben Gamari authored
    Consider the case of building a stage1 compiler. `hschooks.c` will be
    built by stage0 `ghc` and linked against the `stage0` RTS. Despite this
    it was #including the stage1 `Rts.h`. There is, of course, no guarantee
    that this is ABI-compatible with the stage0 RTS and when they diverge
    Bad Things happen (e.g. bells ringing at inappropriate times in D2699).
    
    Test Plan: Validate
    
    Reviewers: simonmar, austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2763
    795f8bd4
hschooks.c 1.93 KB