nitter/config.nims

19 lines
372 B
Plaintext
Raw Permalink Normal View History

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