diff options
author | metagn <metagngn@gmail.com> | 2022-12-22 11:54:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 09:54:41 +0100 |
commit | 37daed389735ac66f5c950be9ee1c6658b019016 (patch) | |
tree | ca6ed351989d9dcee41728e822b8472e5c3ffad7 /lib | |
parent | 314a24472e83eedf058ffa614edf432e8744d0cb (diff) | |
download | Nim-37daed389735ac66f5c950be9ee1c6658b019016.tar.gz |
remove misleading slimsystem deprecated warnings (#21156)
refs #20967
Diffstat (limited to 'lib')
-rw-r--r-- | lib/std/formatfloat.nim | 2 | ||||
-rw-r--r-- | lib/system.nim | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/std/formatfloat.nim b/lib/std/formatfloat.nim index 8abbe59cd..b216d1fd0 100644 --- a/lib/std/formatfloat.nim +++ b/lib/std/formatfloat.nim @@ -11,8 +11,6 @@ when defined(nimPreviewSlimSystem): import std/assertions -else: - {.deprecated: "formatfloat is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/formatfloat`".} proc c_memcpy(a, b: pointer, size: csize_t): pointer {.importc: "memcpy", header: "<string.h>", discardable.} diff --git a/lib/system.nim b/lib/system.nim index 65055f145..1b6235fb3 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1630,7 +1630,6 @@ template newException*(exceptn: typedesc, message: string; (ref exceptn)(msg: message, parent: parentException) when not defined(nimPreviewSlimSystem): - {.deprecated: "assertions is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/assertions`".} import std/assertions export assertions @@ -2068,7 +2067,6 @@ when not defined(js): when hostOS != "standalone": include system/threadimpl when not defined(nimPreviewSlimSystem): - {.deprecated: "threads is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/typedthreads`".} import std/typedthreads export typedthreads @@ -2782,7 +2780,6 @@ when notJSnotNims: releaseSys echoLock when not defined(nimPreviewSlimSystem): - {.deprecated: "io is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/syncio`".} import std/syncio export syncio |