Skip to content

Commit 9bd93a3

Browse files
committed
Make -Z self-profile work for rustdoc
1 parent d9bc242 commit 9bd93a3

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
@@ -723,8 +723,8 @@ impl Upload {
723723
}
724724

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

0 commit comments

Comments
 (0)