summary refs log tree commit diff stats
path: root/lib/pure/includes
diff options
context:
space:
mode:
authorȘtefan Talpalaru <stefantalpalaru@yahoo.com>2021-12-10 06:31:29 +0100
committerGitHub <noreply@github.com>2021-12-10 06:31:29 +0100
commit69aabdab800077e9aaa08344494c83138a02f57c (patch)
treec87bad90e26a6617c8875d36db420ccabc991fe8 /lib/pure/includes
parent32d4bf352585a4fc4a6fa1bd24b270af087b0372 (diff)
downloadNim-69aabdab800077e9aaa08344494c83138a02f57c.tar.gz
nimRawSetjmp: support Windows (#19197)
* nimRawSetjmp: support Windows

Using `_setjmp()` directly is required to avoid some rare (but very
annoying) exception-related stack corruption leading to segfaults on
Windows, with Mingw-w64 and SEH.
More details: https://github.com/status-im/nimbus-eth2/issues/3121

Also add "nimBuiltinSetjmp" - mostly for benchmarking.

* fix for Apple's Clang++
Diffstat (limited to 'lib/pure/includes')
0 files changed, 0 insertions, 0 deletions