summaryrefslogtreecommitdiff
path: root/rts/RaiseAsync.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-01-05 11:46:08 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-01-05 11:46:08 +0000
commit7afd995197924dc6d650b51e160755d651ad1e0d (patch)
treea614897f44fb933b8af3430dcad5aa55a42e1fed /rts/RaiseAsync.c
parentf4b8374442162769ea87c24bf90a0f86a2fdd9b7 (diff)
downloadhaskell-7afd995197924dc6d650b51e160755d651ad1e0d.tar.gz
wrap Main.main in GHC.TopHandler.runIOFastExit
This is so that exceptions raised by Main.main do exactly the same thing as they would in a compiled program, including writing the message to stderr and shutting down with the correct exit code.
Diffstat (limited to 'rts/RaiseAsync.c')
0 files changed, 0 insertions, 0 deletions