summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-12-22 23:13:05 +0100
committerAraq <rumpf_a@web.de>2018-12-22 23:13:05 +0100
commitd407af565f164a2182e9d72fa69d1263cd7b3f9f (patch)
treeaa9108f19f249691bfbf53cf259fd19fa5fa304e
parentbdb67201b2713a4045167fd8feb407df98a43997 (diff)
downloadNim-d407af565f164a2182e9d72fa69d1263cd7b3f9f.tar.gz
fixes #10024
-rw-r--r--compiler/passes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim
index 9302bb2e4..50fc13e1e 100644
--- a/compiler/passes.nim
+++ b/compiler/passes.nim
@@ -155,7 +155,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream): bool {
     while true:
       openParsers(p, fileIdx, s, graph.cache, graph.config)
 
-      if module.owner == nil or module.owner.name.s != "stdlib": # graph.config.mainPackageId == module.owner.id:
+      if module.owner == nil or module.owner.name.s != "stdlib" or module.name.s == "distros":
         # XXX what about caching? no processing then? what if I change the
         # modules to include between compilation runs? we'd need to track that
         # in ROD files. I think we should enable this feature only