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]
This commit is contained in:
parent
a895bbf714
commit
f4af9e955b
13 changed files with 18 additions and 980 deletions
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
{.deprecated: "Use the new 'sugar' module instead".}
|
||||
|
||||
include sugar
|
||||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue