diff options
author | flywind <xzsflywind@gmail.com> | 2022-02-03 00:10:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-02 17:10:11 +0100 |
commit | 891329cd4b3e7e3b0d995cf342c1018239ebcf81 (patch) | |
tree | 491e25ac424b4a73eadeb59212461b915c4db6c8 /lib/pure/os.nim | |
parent | 486cb09ec2caef60011b3d182bfd188dadafdf62 (diff) | |
download | Nim-891329cd4b3e7e3b0d995cf342c1018239ebcf81.tar.gz |
move io out of system (#19442)
* move io out of system * fix tests * fix tests * next step * rename to syncio * rename * fix nimscript * comma * fix * fix parts of errors * good for now * fix test
Diffstat (limited to 'lib/pure/os.nim')
-rw-r--r-- | lib/pure/os.nim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 07040d611..76164bc49 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -34,6 +34,9 @@ import std/private/since import strutils, pathnorm +when defined(nimPreviewSlimSystem): + import std/syncio + const weirdTarget = defined(nimscript) or defined(js) since (1, 1): |