Skip to content
  • Ben Gamari's avatar
    39eaaaba
    rts: Dynamically initialize built-in closures · 39eaaaba
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    To resolve #26166 we need to eliminate references to undefined symbols
    in the runtime system. One such source of these is the runtime's
    static references to `I#` and `C#` due the `stg_INTLIKE` and
    `stg_CHARLIKE` arrays.
    
    To avoid this we make these dynamic, initializing them during RTS
    start-up.
    39eaaaba
    rts: Dynamically initialize built-in closures
    Ben Gamari authored and Marge Bot's avatar Marge Bot committed
    To resolve #26166 we need to eliminate references to undefined symbols
    in the runtime system. One such source of these is the runtime's
    static references to `I#` and `C#` due the `stg_INTLIKE` and
    `stg_CHARLIKE` arrays.
    
    To avoid this we make these dynamic, initializing them during RTS
    start-up.
Loading