summary refs log tree commit diff stats
path: root/compiler/options.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/options.nim')
-rw-r--r--compiler/options.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index 984ef4859..49a317582 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -14,7 +14,7 @@ const
   hasTinyCBackend* = defined(tinyc)
   useEffectSystem* = true
   useWriteTracking* = false
-  newDestructors* = true
+  newDestructors* = defined(nimV2)
   hasFFI* = defined(useFFI)
   newScopeForIf* = true
   useCaas* = not defined(noCaas)