This commit is contained in:
Araq 2018-12-16 18:01:59 +01:00
commit 6e5c2af203

View file

@ -155,7 +155,7 @@ proc processModule*(graph: ModuleGraph; module: PSym, stream: PLLStream): bool {
while true: while true:
openParsers(p, fileIdx, s, graph.cache, graph.config) 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 # XXX what about caching? no processing then? what if I change the
# modules to include between compilation runs? we'd need to track that # modules to include between compilation runs? we'd need to track that
# in ROD files. I think we should enable this feature only # in ROD files. I think we should enable this feature only