Miran b098d9ea85
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
2022-09-03 08:35:01 +02:00

6 lines
197 B
Nim

# 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