summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/passes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/passes.nim b/compiler/passes.nim
index d9a8fb1a7..9302bb2e4 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 graph.config.mainPackageId == module.owner.id:
+      if module.owner == nil or module.owner.name.s != "stdlib": # graph.config.mainPackageId == module.owner.id:
         # 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