summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-11 15:42:31 +0800
committerGitHub <noreply@github.com>2022-11-11 08:42:31 +0100
commitd17b1d475c2e8cd5b112c87072f52951686136ed (patch)
treecb99cadee71fc61ace4b3aab31b39f9e317827b0 /config
parent645e632f21dad1afccb6086ff676a6f004ebf8a4 (diff)
downloadNim-d17b1d475c2e8cd5b112c87072f52951686136ed.tar.gz
revert #19891; `nimRawSetjmp` causes problems for mingw 32 bits too [backport] (#20758)
revert https://github.com/nim-lang/Nim/pull/19891
Diffstat (limited to 'config')
-rw-r--r--config/config.nims5
1 files changed, 0 insertions, 5 deletions
diff --git a/config/config.nims b/config/config.nims
index 8dcfc4e7e..4f3e2b13f 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)