inlining of the write barrier for dlls
This commit is contained in:
parent
c9e011e36c
commit
8098e2a421
25 changed files with 856 additions and 850 deletions
|
|
@ -11,23 +11,18 @@
|
|||
## The default Nimrtl does not only contain the ``system`` module, but these
|
||||
## too:
|
||||
##
|
||||
## * strutils
|
||||
## * parseutils
|
||||
## * strutils
|
||||
## * parseopt
|
||||
## * parsecfg
|
||||
## * strtabs
|
||||
## * times
|
||||
## * os
|
||||
## * osproc
|
||||
## * pegs
|
||||
## * unicode
|
||||
## * pegs
|
||||
## * ropes
|
||||
## * re
|
||||
##
|
||||
## So the resulting dynamic library is quite big. However, it is very easy to
|
||||
## strip modules out. Just modify the ``import`` statement in
|
||||
## ``lib/nimrtl.nim`` and recompile. Note that simply *adding* a module
|
||||
## here is not sufficient, though.
|
||||
|
||||
when system.appType != "lib":
|
||||
{.error: "This file has to be compiled as a library!".}
|
||||
|
|
@ -35,5 +30,7 @@ when system.appType != "lib":
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue