From d407af565f164a2182e9d72fa69d1263cd7b3f9f Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 22 Dec 2018 23:13:05 +0100 Subject: fixes #10024 --- compiler/passes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0