revert #19891; nimRawSetjmp causes problems for mingw 32 bits too [backport] (#20758)

revert https://github.com/nim-lang/Nim/pull/19891
This commit is contained in:
ringabout
2022-11-11 15:42:31 +08:00
committed by GitHub
parent 645e632f21
commit d17b1d475c

View File

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