summary refs log tree commit diff stats
path: root/lib/posix
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-02-03 00:10:11 +0800
committerGitHub <noreply@github.com>2022-02-02 17:10:11 +0100
commit891329cd4b3e7e3b0d995cf342c1018239ebcf81 (patch)
tree491e25ac424b4a73eadeb59212461b915c4db6c8 /lib/posix
parent486cb09ec2caef60011b3d182bfd188dadafdf62 (diff)
downloadNim-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/posix')
-rw-r--r--lib/posix/posix.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index 912e395a7..c10fc6ac9 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -37,6 +37,9 @@
 when defined(nimHasStyleChecks):
   {.push styleChecks: off.}
 
+when defined(nimSlimSystem):
+  import std/syncio
+
 # TODO these constants don't seem to be fetched from a header file for unknown
 #      platforms - where do they come from and why are they here?
 when false: