From 9dc97ed14393af0542a1908807480498831cb0d0 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 (cherry picked from commit d17b1d475c2e8cd5b112c87072f52951686136ed) --- config/config.nims | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/config.nims b/config/config.nims index aa1eda8949..88c344642a 100644 --- a/config/config.nims +++ b/config/config.nims @@ -20,9 +20,4 @@ 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)