introduce --newruntime switch for the upcoming destructors and move semantics
This commit is contained in:
parent
a2e4ab2e4e
commit
63530be0b8
6 changed files with 19 additions and 11 deletions
|
|
@ -14,7 +14,6 @@ const
|
|||
hasTinyCBackend* = defined(tinyc)
|
||||
useEffectSystem* = true
|
||||
useWriteTracking* = false
|
||||
newDestructors* = defined(nimV2)
|
||||
hasFFI* = defined(useFFI)
|
||||
newScopeForIf* = true
|
||||
useCaas* = not defined(noCaas)
|
||||
|
|
@ -145,6 +144,7 @@ var
|
|||
isServing*: bool = false
|
||||
gNoNimblePath* = false
|
||||
gExperimentalMode*: bool
|
||||
newDestructors*: bool
|
||||
|
||||
proc importantComments*(): bool {.inline.} = gCmd in {cmdDoc, cmdIdeTools}
|
||||
proc usesNativeGC*(): bool {.inline.} = gSelectedGC >= gcRefc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue