Add nimRawSetjmp define to config.nims (#285)

* Add nimRawSetjmp define to config.nims

* Add config to tests too.
This commit is contained in:
Eugene Kabanov 2022-06-14 01:02:33 +03:00 committed by GitHub
parent b3548583fc
commit 623681e212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -2,3 +2,9 @@
when system.fileExists("nimble.paths"): when system.fileExists("nimble.paths"):
include "nimble.paths" include "nimble.paths"
# end Nimble config # 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")

View File

@ -1,3 +1,9 @@
switch("threads", "on") switch("threads", "on")
# switch("hints", "off") # switch("hints", "off")
# switch("verbosity", "0") # 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")