mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 21:17:48 +00:00
make tests green again
This commit is contained in:
@@ -531,12 +531,12 @@ when not defined(noSignalHandler) and not defined(useNimRtl):
|
||||
when defined(memtracker):
|
||||
logPendingOps()
|
||||
when hasSomeStackTrace:
|
||||
when not defined(gcDestructors): GC_disable()
|
||||
when not usesDestructors: GC_disable()
|
||||
var buf = newStringOfCap(2000)
|
||||
rawWriteStackTrace(buf)
|
||||
processSignal(sign, buf.add) # nice hu? currying a la Nim :-)
|
||||
showErrorMessage(buf)
|
||||
when not defined(gcDestructors): GC_enable()
|
||||
when not usesDestructors: GC_enable()
|
||||
else:
|
||||
var msg: cstring
|
||||
template asgn(y) =
|
||||
|
||||
Reference in New Issue
Block a user