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
parent 314a24472e
commit 37daed3897
2 changed files with 0 additions and 5 deletions

View File

@@ -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.}

View File

@@ -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