Skip to content

Commit eb7564d

Browse files
committed
expose api to generate report in build
1 parent eb61ba4 commit eb7564d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1928,6 +1928,10 @@ to download LLVM rather than building it.
19281928
pub fn exec_ctx(&self) -> &ExecutionContext {
19291929
&self.config.exec_ctx
19301930
}
1931+
1932+
pub fn report_summary(&self) {
1933+
self.config.exec_ctx.profiler().report_summary();
1934+
}
19311935
}
19321936

19331937
impl AsRef<ExecutionContext> for Build {

0 commit comments

Comments
 (0)