ci: suppress overly verbose hints/warnings at compile-time

This commit is contained in:
Michael Bradley, Jr 2022-07-08 13:28:04 -05:00 committed by Michael Bradley
parent ca9ee12aeb
commit ca8ab350c4

View File

@ -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")