move since from inclrtl to std/private/since (#14188)
* move since from inclrtl to std/private/since * move since import in system below for HCR
This commit is contained in:
parent
3be669be32
commit
fbc97e712a
27 changed files with 60 additions and 59 deletions
|
|
@ -1124,6 +1124,8 @@ elif hostOS != "standalone":
|
|||
var programResult* {.compilerproc, exportc: "nim_program_result".}: int
|
||||
## deprecated, prefer ``quit``
|
||||
|
||||
import std/private/since
|
||||
|
||||
proc align(address, alignment: int): int =
|
||||
if alignment == 0: # Actually, this is illegal. This branch exists to actively
|
||||
# hide problems.
|
||||
|
|
@ -2054,8 +2056,8 @@ const
|
|||
## is the major number of Nim's version. Example:
|
||||
##
|
||||
## .. code-block:: Nim
|
||||
## when (NimMajor, NimMinor, NimPatch) >= (1, 3, 1): discard
|
||||
# See also private symbol `since: (1, 3)` reserved for stdlib
|
||||
## when (NimMajor, NimMinor, NimPatch) >= (1, 3, 1): discard
|
||||
# see also std/private/since
|
||||
|
||||
NimMinor* {.intdefine.}: int = 3
|
||||
## is the minor number of Nim's version.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue