Revert "put extracted modules behind the switch, to enable doc generation"
This reverts commit 71bff7d2df.
This commit is contained in:
parent
71bff7d2df
commit
7372a4c4aa
6 changed files with 11 additions and 17 deletions
|
|
@ -2926,12 +2926,11 @@ proc compiles*(x: untyped): bool {.magic: "Compiles", noSideEffect, compileTime.
|
|||
discard
|
||||
|
||||
|
||||
when not defined(nimSlimSystem):
|
||||
import system/assertions
|
||||
export assertions
|
||||
import system/assertions
|
||||
export assertions
|
||||
|
||||
import system/iterators
|
||||
export iterators
|
||||
import system/iterators
|
||||
export iterators
|
||||
|
||||
|
||||
proc find*[T, S](a: T, item: S): int {.inline.}=
|
||||
|
|
@ -3333,9 +3332,9 @@ template unlikely*(val: bool): bool =
|
|||
else:
|
||||
unlikelyProc(val)
|
||||
|
||||
when not defined(nimSlimSystem):
|
||||
import system/dollars
|
||||
export dollars
|
||||
|
||||
import system/dollars
|
||||
export dollars
|
||||
|
||||
|
||||
const
|
||||
|
|
@ -4346,10 +4345,10 @@ when defined(nimHasDefault):
|
|||
proc default*(T: typedesc): T {.magic: "Default", noSideEffect.}
|
||||
## returns the default value of the type ``T``.
|
||||
|
||||
when not defined(nimSlimSystem):
|
||||
import system/widestrs
|
||||
export widestrs
|
||||
import system/widestrs
|
||||
export widestrs
|
||||
|
||||
when not defined(nimnoio):
|
||||
import system/io
|
||||
export io
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
--define:nimSlimSystem
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
--define:nimSlimSystem
|
||||
|
|
@ -1 +1 @@
|
|||
--define:nimSlimSystem
|
||||
--define: nimnoio
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
--define:nimSlimSystem
|
||||
|
|
@ -1 +0,0 @@
|
|||
--define:nimSlimSystem
|
||||
Loading…
Add table
Add a link
Reference in a new issue