move `-d:nimRawSetjmp` to config.nim
Refs https://github.com/status-im/nimbus-build-system/issues/44
This commit is contained in:
parent
419903c9a3
commit
8cd4ccdc28
|
@ -149,10 +149,6 @@ jobs:
|
|||
|
||||
- name: Run tests
|
||||
run: |
|
||||
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
|
||||
# https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
export NIMFLAGS="-d:nimRawSetjmp"
|
||||
fi
|
||||
nim --version
|
||||
nimble --version
|
||||
env TEST_LANG=c nimble test
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
if defined(windows):
|
||||
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
||||
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
switch("define", "nimRawSetjmp")
|
|
@ -0,0 +1,4 @@
|
|||
if defined(windows):
|
||||
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
||||
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
switch("define", "nimRawSetjmp")
|
Loading…
Reference in New Issue