summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.nims5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/config.nims b/config/config.nims
index 08d9d9f55..b50181eaf 100644
--- a/config/config.nims
+++ b/config/config.nims
@@ -20,5 +20,10 @@ 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)
 switch("define", "nimPreviewDotLikeOps")
5f2cdcd4f ^



ca7bf3be8 ^
5f2cdcd4f ^










99078d80d ^
ca7bf3be8 ^
99078d80d ^
ca7bf3be8 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45