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
commit d17b1d475c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)