expose report summary via build
This commit is contained in:
parent
13c31d445e
commit
75b454b320
1 changed files with 5 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ use std::collections::{BTreeSet, HashMap, HashSet};
|
|||
use std::fmt::Display;
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::sync::OnceLock;
|
||||
use std::time::SystemTime;
|
||||
use std::time::{Instant, SystemTime};
|
||||
use std::{env, fs, io, str};
|
||||
|
||||
use build_helper::ci::gha;
|
||||
|
|
@ -1928,6 +1928,10 @@ to download LLVM rather than building it.
|
|||
pub fn exec_ctx(&self) -> &ExecutionContext {
|
||||
&self.config.exec_ctx
|
||||
}
|
||||
|
||||
pub fn report_summary(&self, start_time: Instant) {
|
||||
self.config.exec_ctx.profiler().report_summary(start_time);
|
||||
}
|
||||
}
|
||||
|
||||
impl AsRef<ExecutionContext> for Build {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue