summary refs log blame commit diff stats
path: root/lib/nimrtl.nim
blob: 301ffb43b96611b873239583f2808a0fb7c94ab9 (plain) (tree)
1
2
3
4
5
6
7



                

 
                                  





                                                   
                                                         
                                                                          

       
               
             





             
            
         
          
  



                                                         
                               

                                                                  

                                                                          
                              
discard """
batchable: false
"""

#
#
#            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
## too:
##
## * parseutils
## * strutils
## * parseopt
## * parsecfg
## * strtabs
## * times
## * os
## * osproc
## * unicode
## * pegs
## * ropes
##

when system.appType != "lib":
  {.error: "This file has to be compiled as a library!".}

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, cstrutils