mirror of
https://github.com/status-im/nim-confutils.git
synced 2025-01-22 01:50:35 +00:00
move -d:nimRawSetjmp
to config.nims (#54)
* move `-d:nimRawSetjmp` to config.nims Refs https://github.com/status-im/nimbus-build-system/issues/44 * use .cfg not .nims
This commit is contained in:
parent
40c6f0b378
commit
b098d9ea85
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
|
||||||
nimble install -y --depsOnly
|
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
|
5
tests/nim.cfg
Normal file
5
tests/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
|
Loading…
x
Reference in New Issue
Block a user