Add deprecation pragmas in lib/deprecated/pure (#19113)

This commit is contained in:
konsumlamm 2021-11-09 19:00:33 +01:00 • committed by GitHub
commit b0f4a9b845
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 7 deletions

View file

@ -7,8 +7,9 @@
# distribution, for details about the copyright.
#
## This module is deprecated, `import os` instead.
{.deprecated: "import os.nim instead".}
## This module is deprecated, `import std/os` instead.
{.deprecated: "use `std/os` instead".}
import os
export ReadEnvEffect, WriteEnvEffect, ReadDirEffect, WriteDirEffect, OSErrorCode,