Skip to content
  • Simon Marlow's avatar
    Fix Windows breakage (#5322). When I modified StgRun to use the pure · 81eddb4c
    Simon Marlow authored
    assembly version as part of the fix for #5250, we inadvertently lost
    the Windows magic for extending the stack.  Win32 requires that the
    stack is extended a page at a time, otherwise you get a segfault.  The
    C compiler knows how to do this, so we now call a C stub to ensure
    there's enough stack space at each invocation of the scheduler.
    81eddb4c