From 6a6a2b7d76068e4c89a9b45d593def1f370464a1 Mon Sep 17 00:00:00 2001 From: Erwan Ameil Date: Fri, 10 Nov 2017 04:39:11 +0000 Subject: [PATCH] Fix missing stacktraces when using -d:useNimRtl (#6716) --- lib/system/excpt.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index f2b5997cc..9e02d6824 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -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")