From 855e60651f2e62963e60f8dfdc4ef336cabdf0e1 Mon Sep 17 00:00:00 2001 From: araq Date: Tue, 18 Nov 2025 20:33:18 +0100 Subject: [PATCH] progress --- lib/system/excpt.nim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index ea0eb13c81..719224f16b 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -597,6 +597,8 @@ proc callDepthLimitReached() {.noinline.} = showErrorMessage2(msg) rawQuit(1) +{.push overflowChecks: off.} + proc nimFrame(s: PFrame) {.compilerRtl, inl, raises: [].} = if framePtr == nil: s.calldepth = 0 @@ -608,6 +610,8 @@ proc nimFrame(s: PFrame) {.compilerRtl, inl, raises: [].} = framePtr = s if s.calldepth == nimCallDepthLimit: callDepthLimitReached() +{.pop.} + when defined(cpp) and appType != "lib" and not gotoBasedExceptions and not defined(js) and not defined(nimscript) and hostOS != "standalone" and hostOS != "any" and not defined(noCppExceptions) and