in somepackge/config.nims i want to set
--hintAsError:Performance:on
--hintAsError:XDeclaredButNotUsed:on
--warningAsError:GcUnsafe:on
however, running the the tests throws
/home/poop/git/foss/bookofnim/config.nims(1, 2) Error: 'on' or 'off' expected, but 'Performance:
on' found
is there another way to provide these flags without setting on the cmdline?
thanks @planetis
I triend with warningAsError and it worked too ;)
switch("hintAsError", "Performance:on")
switch("hintAsError", "XDeclaredButNotUsed:on")
switch("warningAsError", "GcUnsafe:on")