2021-12-16 18:00:10 +00:00
|
|
|
# to allow locking
|
|
|
|
if dirExists("nimbledeps/pkgs"):
|
|
|
|
switch("NimblePath", "nimbledeps/pkgs")
|
2023-01-23 14:53:15 +00:00
|
|
|
if dirExists("nimbledeps/pkgs2"):
|
|
|
|
switch("NimblePath", "nimbledeps/pkgs2")
|
2022-05-24 13:10:57 +00:00
|
|
|
|
2022-09-01 12:00:22 +00:00
|
|
|
switch("warning", "CaseTransition:off")
|
|
|
|
switch("warning", "ObservableStores:off")
|
|
|
|
switch("warning", "LockLevel:off")
|
|
|
|
--styleCheck:usages
|
2023-06-07 11:12:49 +00:00
|
|
|
switch("warningAsError", "UseBase:on")
|
|
|
|
--styleCheck:error
|
2022-09-01 12:00:22 +00:00
|
|
|
|
|
|
|
# Avoid some rare stack corruption while using exceptions with a SEH-enabled
|
|
|
|
# toolchain: https://github.com/status-im/nimbus-eth2/issues/3121
|
|
|
|
if defined(windows) and not defined(vcc):
|
|
|
|
--define:nimRawSetjmp
|
|
|
|
|
2022-07-12 18:03:23 +00:00
|
|
|
# begin Nimble config (version 1)
|
|
|
|
when fileExists("nimble.paths"):
|
|
|
|
include "nimble.paths"
|
|
|
|
# end Nimble config
|