Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6782dc0

Browse files
committed
Time running the global context
1 parent e730947 commit 6782dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt
457457

458458
let mut global_ctxt = abort_on_err(queries.global_ctxt(), sess).take();
459459

460-
global_ctxt.enter(|tcx| run_global_ctxt(tcx, resolver, default_passes, manual_passes, render_options, output_format))
460+
sess.time("run_global_ctxt", || global_ctxt.enter(|tcx| run_global_ctxt(tcx, resolver, default_passes, manual_passes, render_options, output_format)))
461461
})
462462
})
463463
}

0 commit comments

Comments
 (0)