move -d:nimRawSetjmp to config.nims (#30)
Refs https://github.com/status-im/nimbus-build-system/issues/44
This commit is contained in:
parent
5f9fd4e5c5
commit
6112432b3a
3 changed files with 10 additions and 4 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
nimble install -y --depsOnly
|
||||
|
|
|
|||
5
nim.cfg
Normal file
5
nim.cfg
Normal file
|
|
@ -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,2 +1,7 @@
|
|||
--threads:on
|
||||
|
||||
# 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…
Add table
Add a link
Reference in a new issue