summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/options.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim
index 0bdb51159..7408ce675 100644
--- a/compiler/options.nim
+++ b/compiler/options.nim
@@ -448,7 +448,8 @@ const foreignPackageNotesDefault* = {
 
 proc isDefined*(conf: ConfigRef; symbol: string): bool
 
-import debugutils
+when defined(nimDebugUtils):
+  import debugutils
 
 proc newConfigRef*(): ConfigRef =
   result = ConfigRef(