mirror of
https://github.com/status-im/nim-stew.git
synced 2025-01-09 11:45:42 +00:00
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
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -149,10 +149,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
|
|
||||||
# https://github.com/status-im/nimbus-eth2/issues/3121
|
|
||||||
export NIMFLAGS="-d:nimRawSetjmp"
|
|
||||||
fi
|
|
||||||
nim --version
|
nim --version
|
||||||
nimble --version
|
nimble --version
|
||||||
env TEST_LANG=c nimble test
|
env TEST_LANG=c nimble test
|
||||||
|
4
config.nims
Normal file
4
config.nims
Normal file
@ -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")
|
4
tests/config.nims
Normal file
4
tests/config.nims
Normal file
@ -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…
x
Reference in New Issue
Block a user