make 'doc io.nim' work
This commit is contained in:
parent
f9231eb569
commit
1d1be03d81
2 changed files with 4 additions and 2 deletions
|
|
@ -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
1
lib/system/io.nim.cfg
Normal file
|
|
@ -0,0 +1 @@
|
|||
--define: nimnoio
|
||||
Loading…
Add table
Add a link
Reference in a new issue