diff options
Diffstat (limited to 'lib/nimrtl.nim')
-rw-r--r-- | lib/nimrtl.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/nimrtl.nim b/lib/nimrtl.nim index 96dab1284..4e4cf7e0e 100644 --- a/lib/nimrtl.nim +++ b/lib/nimrtl.nim @@ -7,8 +7,8 @@ # distribution, for details about the copyright. # -## Main file to generate a DLL from the standard library. -## The default Nimrtl does not only contain the ``system`` module, but these +## Main file to generate a DLL from the standard library. +## The default Nimrtl does not only contain the ``system`` module, but these ## too: ## ## * parseutils @@ -22,12 +22,12 @@ ## * unicode ## * pegs ## * ropes -## +## when system.appType != "lib": {.error: "This file has to be compiled as a library!".} -when not defined(createNimRtl): +when not defined(createNimRtl): {.error: "This file has to be compiled with '-d:createNimRtl'".} import |