nimrtl.nim 829 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. discard """
  2. batchable: false
  3. """
  4. #
  5. #
  6. # Nim's Runtime Library
  7. # (c) Copyright 2010 Andreas Rumpf
  8. #
  9. # See the file "copying.txt", included in this
  10. # distribution, for details about the copyright.
  11. #
  12. ## Main file to generate a DLL from the standard library.
  13. ## The default Nimrtl does not only contain the `system` module, but these
  14. ## too:
  15. ##
  16. ## * parseutils
  17. ## * strutils
  18. ## * parseopt
  19. ## * parsecfg
  20. ## * strtabs
  21. ## * times
  22. ## * os
  23. ## * osproc
  24. ## * unicode
  25. ## * pegs
  26. ## * ropes
  27. ## * cstrutils
  28. ##
  29. when system.appType != "lib":
  30. {.error: "This file has to be compiled as a library!".}
  31. when not defined(createNimRtl):
  32. {.error: "This file has to be compiled with '-d:createNimRtl'".}
  33. import
  34. std/[parseutils, strutils, parseopt, parsecfg, strtabs, unicode, pegs, ropes,
  35. os, osproc, times, cstrutils]