summary refs log tree commit diff stats
path: root/compiler/options.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-10-30 16:15:17 +0100
committerGitHub <noreply@github.com>2019-10-30 16:15:17 +0100
commit1746da2d9e3d802d990d9636d2f6887a4aeb5dc9 (patch)
tree687727e8d4b858eb74db2e07a1a778cff58a7bdd /compiler/options.nim
parentb5bb58164270a819cfb37655139251955541a964 (diff)
downloadNim-1746da2d9e3d802d990d9636d2f6887a4aeb5dc9.tar.gz
--gc:destructors now means Nim uses pure refcounting (#12557)
Diffstat (limited to 'compiler/options.nim')
-rw-r--r--compiler/options.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index 286ca8fcf..d3918363e 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -116,6 +116,7 @@ type
   TStringSeq* = seq[string]
   TGCMode* = enum             # the selected GC
     gcUnselected, gcNone, gcBoehm, gcRegions, gcMarkAndSweep, gcDestructors,
+    gcHooks,
     gcRefc, gcV2, gcGo
     # gcRefc and the GCs that follow it use a write barrier,
     # as far as usesWriteBarrier() is concerned