Skip to content

Commit dc5dc5e

Browse files
committed
Make -Z self-profile work for rustdoc
1 parent c398560 commit dc5dc5e

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)