remove misleading slimsystem deprecated warnings (#21156)

refs #20967
This commit is contained in:
metagn 2022-12-22 11:54:41 +03:00 • committed by GitHub
commit 37daed3897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -11,8 +11,6 @@
when defined(nimPreviewSlimSystem): when defined(nimPreviewSlimSystem):
import std/assertions 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.} proc c_memcpy(a, b: pointer, size: csize_t): pointer {.importc: "memcpy", header: "<string.h>", discardable.}

View file

@ -1630,7 +1630,6 @@ template newException*(exceptn: typedesc, message: string;
(ref exceptn)(msg: message, parent: parentException) (ref exceptn)(msg: message, parent: parentException)
when not defined(nimPreviewSlimSystem): when not defined(nimPreviewSlimSystem):
{.deprecated: "assertions is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/assertions`".}
import std/assertions import std/assertions
export assertions export assertions
@ -2068,7 +2067,6 @@ when not defined(js):
when hostOS != "standalone": when hostOS != "standalone":
include system/threadimpl include system/threadimpl
when not defined(nimPreviewSlimSystem): when not defined(nimPreviewSlimSystem):
{.deprecated: "threads is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/typedthreads`".}
import std/typedthreads import std/typedthreads
export typedthreads export typedthreads
@ -2782,7 +2780,6 @@ when notJSnotNims:
releaseSys echoLock releaseSys echoLock
when not defined(nimPreviewSlimSystem): when not defined(nimPreviewSlimSystem):
{.deprecated: "io is about to move out of system; use `-d:nimPreviewSlimSystem` and import `std/syncio`".}
import std/syncio import std/syncio
export syncio export syncio