Revert "put extracted modules behind the switch, to enable doc generation"

This reverts commit 71bff7d2df.
This commit is contained in:
narimiran 2019-03-14 13:22:46 +01:00
commit 7372a4c4aa
6 changed files with 11 additions and 17 deletions

View file

@ -2926,7 +2926,6 @@ proc compiles*(x: untyped): bool {.magic: "Compiles", noSideEffect, compileTime.
discard
when not defined(nimSlimSystem):
import system/assertions
export assertions
@ -3333,7 +3332,7 @@ template unlikely*(val: bool): bool =
else:
unlikelyProc(val)
when not defined(nimSlimSystem):
import system/dollars
export dollars
@ -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
when not defined(nimnoio):
import system/io
export io

View file

@ -1,2 +0,0 @@
--define:nimSlimSystem

View file

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

View file

@ -1 +1 @@
--define:nimSlimSystem
--define: nimnoio

View file

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

View file

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