mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 03:14:08 +00:00
make 'doc io.nim' work
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user