summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authornc-x <neelesh.chandola@outlook.com>2019-06-08 04:07:08 +0530
committerAndreas Rumpf <rumpf_a@web.de>2019-06-08 00:37:08 +0200
commitbce908f6ee9f24346641310d8f7f8971e92ffe01 (patch)
treebfc6e7e91ed0d4d23b0389c66338302634b4516e /lib
parentbf9f1f7b45a4fa04cf7995c95af88680b2710f8c (diff)
downloadNim-bce908f6ee9f24346641310d8f7f8971e92ffe01.tar.gz
fix `koch docs` failing at io.nim with `import os` in config.nims (#11418) [bugfix]
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim5
-rw-r--r--lib/system/io.nim.cfg1
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/system.nim b/lib/system.nim
index fb2e504a0..d22585c6a 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -4450,9 +4450,8 @@ when defined(genode):
 import system/widestrs
 export widestrs
 
-when not defined(nimnoio):
-  import system/io
-  export io
+import system/io
+export io
 
 when not defined(createNimHcr):
   include nimhcr
diff --git a/lib/system/io.nim.cfg b/lib/system/io.nim.cfg
deleted file mode 100644
index fd7cc755c..000000000
--- a/lib/system/io.nim.cfg
+++ /dev/null
@@ -1 +0,0 @@
---define: nimnoio