From 6a6a2b7d76068e4c89a9b45d593def1f370464a1 Mon Sep 17 00:00:00 2001 From: Erwan Ameil Date: Fri, 10 Nov 2017 04:39:11 +0000 Subject: Fix missing stacktraces when using -d:useNimRtl (#6716) --- lib/system/excpt.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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") -- cgit 1.4.1-2-gfad0 'selected'>devel This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log blame commit diff stats
path: root/doc/apis.txt
blob: 277c1925b9f6474753e834ae14920b5a00cddaa6 (plain) (tree)
1
2
3