Files
Nim/lib/compilation.nim
2024-03-19 16:37:43 +01:00

16 lines
474 B
Nim

const
NimMajor* {.intdefine.}: int = 1
## is the major number of Nim's version. Example:
##
## .. code-block:: Nim
## when (NimMajor, NimMinor, NimPatch) >= (1, 3, 1): discard
# see also std/private/since
NimMinor* {.intdefine.}: int = 6
## is the minor number of Nim's version.
## Odd for devel, even for releases.
NimPatch* {.intdefine.}: int = 20
## is the patch number of Nim's version.
## Odd for devel, even for releases.