mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
Fix missing stacktraces when using -d:useNimRtl (#6716)
This commit is contained in:
committed by
Andreas Rumpf
parent
46275f6b8f
commit
6a6a2b7d76
@@ -374,7 +374,7 @@ when defined(endb):
|
||||
var
|
||||
dbgAborting: bool # whether the debugger wants to abort
|
||||
|
||||
when not defined(noSignalHandler):
|
||||
when not defined(noSignalHandler) and not defined(useNimRtl):
|
||||
proc signalHandler(sign: cint) {.exportc: "signalHandler", noconv.} =
|
||||
template processSignal(s, action: untyped) {.dirty.} =
|
||||
if s == SIGINT: action("SIGINT: Interrupted by Ctrl-C.\n")
|
||||
|
||||
Reference in New Issue
Block a user