move `-d:nimRawSetjmp` to config.nims (#30)
* move `-d:nimRawSetjmp` to config.nims Refs https://github.com/status-im/nimbus-build-system/issues/44 * not vcc * use .cfg not .nims
This commit is contained in:
parent
2631f8473d
commit
32e125015a
|
@ -155,10 +155,6 @@ jobs:
|
|||
- name: Run tests
|
||||
shell: bash
|
||||
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
|
|
@ -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
|
Loading…
Reference in New Issue