Move some timers around
This commit is contained in:
parent
84873f8613
commit
ea6f5cbd2f
4 changed files with 6 additions and 8 deletions
|
@ -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(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue