diff options
Diffstat (limited to 'lib/nimrtl.nim')
-rw-r--r--[-rwxr-xr-x] | lib/nimrtl.nim | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/lib/nimrtl.nim b/lib/nimrtl.nim index 68b7d7bd9..a2fb6ce60 100755..100644 --- a/lib/nimrtl.nim +++ b/lib/nimrtl.nim @@ -1,14 +1,18 @@ +discard """ +batchable: false +""" + # # -# Nimrod's Runtime Library +# Nim's Runtime Library # (c) Copyright 2010 Andreas Rumpf # # See the file "copying.txt", included in this # 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,15 +26,15 @@ ## * unicode ## * pegs ## * ropes -## +## * cstrutils +## 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 - parseutils, strutils, parseopt, parsecfg, strtabs, unicode, pegs, ropes, - os, osproc, times - + std/[parseutils, strutils, parseopt, parsecfg, strtabs, unicode, pegs, ropes, + os, osproc, times, cstrutils] |