diff --git a/config.nims b/config.nims index bdad7d5..3b1dbb6 100644 --- a/config.nims +++ b/config.nims @@ -1,2 +1,10 @@ --threads:on --tlsEmulation:off + +when (NimMajor, NimMinor) == (1, 2): + switch("hint", "Processing:off") + switch("hint", "XDeclaredButNotUsed:off") + switch("warning", "ObservableStores:off") + +when (NimMajor, NimMinor) > (1, 2): + switch("hint", "XCannotRaiseY:off")