move -d:nimRawSetjmp to nim.cfg
Refs https://github.com/status-im/nimbus-build-system/issues/44
This commit is contained in:
parent
7cb2e57a58
commit
c196893450
|
@ -164,10 +164,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
|
||||
nimble install -y --depsOnly
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
||||
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
@if windows and not vcc:
|
||||
--define:nimRawSetjmp
|
||||
@end
|
|
@ -1 +0,0 @@
|
|||
switch("path", "..")
|
|
@ -0,0 +1,7 @@
|
|||
path = ".."
|
||||
|
||||
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
||||
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
||||
@if windows and not vcc:
|
||||
--define:nimRawSetjmp
|
||||
@end
|
Loading…
Reference in New Issue