diff --git a/config.nims b/config.nims index 325acb1e..6942fe2c 100644 --- a/config.nims +++ b/config.nims @@ -2,3 +2,9 @@ when system.fileExists("nimble.paths"): include "nimble.paths" # end Nimble config + +# This is workaround for `mingw64-gcc-12.1.0` issue. +# https://github.com/nim-lang/Nim/pull/19197 +# Should be removed when https://github.com/status-im/nim-chronos/issues/284 +# will be implemented. +switch("define", "nimRawSetjmp") diff --git a/tests/config.nims b/tests/config.nims index 165e2f85..e1d01894 100644 --- a/tests/config.nims +++ b/tests/config.nims @@ -1,3 +1,9 @@ switch("threads", "on") # switch("hints", "off") # switch("verbosity", "0") + +# This is workaround for `mingw64-gcc-12.1.0` issue. +# https://github.com/nim-lang/Nim/pull/19197 +# Should be removed when https://github.com/status-im/nim-chronos/issues/284 +# will be implemented. +switch("define", "nimRawSetjmp")