Skip to content

Commit 8b85975

Browse files
wesleywiserZoxc
authored andcommitted
Disable self profiler
1 parent 5355335 commit 8b85975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/session/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ impl Session {
835835

836836
#[inline(always)]
837837
pub fn profiler<F: FnOnce(&mut SelfProfiler) -> ()>(&self, f: F) {
838-
if unlikely!(self.self_profiling_active) {
838+
if unlikely!(false) {
839839
self.profiler_active(f)
840840
}
841841
}

0 commit comments

Comments
 (0)