chore: add ModuleGraph::display

This commit is contained in:
Shunsuke Shibayama 2023-12-22 13:03:25 +09:00
parent 03a45de495
commit 2f924527f0
2 changed files with 41 additions and 0 deletions

View file

@ -336,6 +336,7 @@ impl<ASTBuilder: ASTBuildable, HIRBuilder: Buildable>
log!(info "Start dependency resolution process");
let _ = self.resolve(&mut ast, &cfg);
log!(info "Dependency resolution process completed");
log!("graph:\n{}", self.shared.graph.display());
if self.parse_errors.errors.is_empty() {
self.shared.warns.extend(self.parse_errors.warns.flush());
} else {