summary refs log tree commit diff stats
path: root/compiler/passes.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/passes.nim')
-rw-r--r--compiler/passes.nim5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim
index 46c36f9d1..a8f67300c 100644
--- a/compiler/passes.nim
+++ b/compiler/passes.nim
@@ -14,7 +14,10 @@ import
   options, ast, llstream, msgs,
   idents,
   syntaxes, modulegraphs, reorder,
-  lineinfos, pathutils, std/sha1, packages
+  lineinfos, pathutils, packages
+
+when defined(nimsuggest):
+  import std/sha1
 
 when defined(nimPreviewSlimSystem):
   import std/syncio