make 'doc io.nim' work

This commit is contained in:
Andreas Rumpf
2019-03-04 09:04:14 +01:00
parent f9231eb569
commit 1d1be03d81
2 changed files with 4 additions and 2 deletions

View File

@@ -4264,8 +4264,9 @@ proc `$`*(t: typedesc): string {.magic: "TypeTrait".} =
import system/widestrs
export widestrs
import system/io
export io
when not defined(nimnoio):
import system/io
export io
when not defined(createNimHcr):
include nimhcr

1
lib/system/io.nim.cfg Normal file
View File

@@ -0,0 +1 @@
--define: nimnoio