nitter/config.nims

19 lines
372 B
Plaintext
Raw Permalink Normal View History

2019-06-21 18:03:39 +00:00
--define:ssl
2020-01-29 02:07:11 +00:00
--define:useStdLib
--threads:off
# workaround httpbeast file upload bug
--assertions:off
2020-11-07 20:54:23 +00:00
# disable annoying warnings
warning("GcUnsafe2", off)
2022-01-06 14:21:42 +00:00
hint("XDeclaredButNotUsed", off)
2022-01-16 05:00:11 +00:00
hint("XCannotRaiseY", off)
2022-01-06 14:21:42 +00:00
hint("User", off)
const
nimVersion = (major: NimMajor, minor: NimMinor, patch: NimPatch)
when nimVersion >= (1, 6, 0):
warning("HoleEnumConv", off)