Skip to content

Commit e095f50

Browse files
Merge pull request #806 from jyn514/self-profile
Make --self-profile work for rustdoc
2 parents c398560 + dc5dc5e commit e095f50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

collector/src/execute.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,8 @@ impl Upload {
724724
}
725725

726726
impl<'a> Processor for MeasureProcessor<'a> {
727-
fn profiler(&self, build: BuildKind) -> Profiler {
728-
if self.is_first_collection && self.self_profile && build != BuildKind::Doc {
727+
fn profiler(&self, _build: BuildKind) -> Profiler {
728+
if self.is_first_collection && self.self_profile {
729729
Profiler::PerfStatSelfProfile
730730
} else {
731731
Profiler::PerfStat

0 commit comments

Comments
 (0)