Move some timers around

This commit is contained in:
bjorn3 2024-11-09 17:58:29 +00:00
parent 84873f8613
commit ea6f5cbd2f
4 changed files with 6 additions and 8 deletions

View file

@ -459,8 +459,7 @@ fn run_compiler(
// Linking is done outside the `compiler.enter()` so that the
// `GlobalCtxt` within `Queries` can be freed as early as possible.
if let Some(linker) = linker {
let _timer = sess.timer("link");
linker.link(sess, codegen_backend)?
linker.link(sess, codegen_backend)?;
}
Ok(())