From d17b1d475c2e8cd5b112c87072f52951686136ed Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Fri, 11 Nov 2022 15:42:31 +0800 Subject: [PATCH] revert #19891; `nimRawSetjmp` causes problems for mingw 32 bits too [backport] (#20758) revert https://github.com/nim-lang/Nim/pull/19891 --- config/config.nims | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/config.nims b/config/config.nims index 8dcfc4e7e9..4f3e2b13f1 100644 --- a/config/config.nims +++ b/config/config.nims @@ -20,10 +20,5 @@ when defined(nimStrictMode): switch("hintAsError", "ConvFromXtoItselfNotNeeded") # future work: XDeclaredButNotUsed -when defined(windows) and not defined(booting): - # Avoid some rare stack corruption while using exceptions with a SEH-enabled - # toolchain: https://github.com/nim-lang/Nim/pull/19197 - switch("define", "nimRawSetjmp") - switch("define", "nimVersion:" & NimVersion)