windows: workaround to prevent random segfaults
This commit is contained in:
parent
15ae157e61
commit
41bd968ac0
|
@ -6,6 +6,9 @@ else:
|
||||||
switch("nimcache", joinPath(currentSourcePath.parentDir, "nimcache/debug/$projectName"))
|
switch("nimcache", joinPath(currentSourcePath.parentDir, "nimcache/debug/$projectName"))
|
||||||
|
|
||||||
if defined(windows):
|
if defined(windows):
|
||||||
|
# https://github.com/nim-lang/Nim/pull/19891
|
||||||
|
switch("define", "nimRawSetjmp")
|
||||||
|
|
||||||
# disable timestamps in Windows PE headers - https://wiki.debian.org/ReproducibleBuilds/TimestampsInPEBinaries
|
# disable timestamps in Windows PE headers - https://wiki.debian.org/ReproducibleBuilds/TimestampsInPEBinaries
|
||||||
switch("passL", "-Wl,--no-insert-timestamp")
|
switch("passL", "-Wl,--no-insert-timestamp")
|
||||||
# increase stack size
|
# increase stack size
|
||||||
|
|
Loading…
Reference in New Issue