diff options
author | metagn <metagngn@gmail.com> | 2022-08-23 21:18:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 20:18:40 +0200 |
commit | f4af9e955b64e8fd055da2c85b1846ca5cd1d663 (patch) | |
tree | d753b485ee315a77a6b1e5eab067ee86c29dc16f /lib/pure/includes | |
parent | a895bbf714894b059361d0c63a0e46e54eb22da3 (diff) | |
download | Nim-f4af9e955b64e8fd055da2c85b1846ca5cd1d663.tar.gz |
remove some deprecated pre-1.0 stdlib modules (#20202)
* remove pre-1.0 stdlib deprecations notable exceptions: * ze, toU8 etc in system/arithmetics * potentially callsite * undo macros, ospaths, securehash, oswalkdir * add sets back * add back future, document deprecated versions * add to changelog [skip ci]
Diffstat (limited to 'lib/pure/includes')
-rw-r--r-- | lib/pure/includes/osenv.nim | 2 | ||||
-rw-r--r-- | lib/pure/includes/oserr.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/includes/osenv.nim b/lib/pure/includes/osenv.nim index e04e14cec..b7200a8e2 100644 --- a/lib/pure/includes/osenv.nim +++ b/lib/pure/includes/osenv.nim @@ -1,6 +1,6 @@ # Include file that implements 'getEnv' and friends. Do not import it! -when not declared(os) and not declared(ospaths): +when not declared(os): {.error: "This is an include file for os.nim!".} when not defined(nimscript): diff --git a/lib/pure/includes/oserr.nim b/lib/pure/includes/oserr.nim index 01403fa70..a6eba84ba 100644 --- a/lib/pure/includes/oserr.nim +++ b/lib/pure/includes/oserr.nim @@ -1,6 +1,6 @@ # Include file that implements 'osErrorMsg' and friends. Do not import it! -when not declared(os) and not declared(ospaths): +when not declared(os): {.error: "This is an include file for os.nim!".} when not defined(nimscript): |