Skip to content

Commit 283a9bb

Browse files
authored
move -d:nimRawSetjmp to nim.cfg (#114)
Refs status-im/nimbus-build-system#44
1 parent e974acb commit 283a9bb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,6 @@ jobs:
160160
161161
- name: Run tests
162162
run: |
163-
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
164-
# https://github.com/status-im/nimbus-eth2/issues/3121
165-
export NIMFLAGS="-d:nimRawSetjmp"
166-
fi
167163
nim --version
168164
nimble --version
169165
nimble install -y --depsOnly

nim.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
2+
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
3+
@if windows and not vcc:
4+
--define:nimRawSetjmp
5+
@end

0 commit comments

Comments
 (0)