Skip to content

Commit e19155f

Browse files
wesleywiserZoxc
authored andcommitted
Disable self profiler
1 parent 76f8f87 commit e19155f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/session/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ impl Session {
841841

842842
#[inline(always)]
843843
pub fn profiler<F: FnOnce(&mut SelfProfiler) -> ()>(&self, f: F) {
844-
if unlikely!(self.self_profiling_active) {
844+
if unlikely!(false) {
845845
self.profiler_active(f)
846846
}
847847
}

0 commit comments

Comments
 (0)