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 d17b1d475c)
This commit is contained in:
ringabout
2022-11-11 15:42:31 +08:00
committed by narimiran
parent 76b0842994
commit 9dc97ed143

View File

@@ -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)