diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-11-09 17:58:29 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-06 18:42:30 +0000 |
| commit | ea6f5cbd2f8271b073d7902f43b12154b4685aca (patch) | |
| tree | 290a85098897fb4c2c1f726f850818373e5de457 /compiler/rustc_driver_impl/src/lib.rs | |
| parent | 84873f86138bd5a2f7de73ef3b746f419ed13b8b (diff) | |
| download | rust-ea6f5cbd2f8271b073d7902f43b12154b4685aca.tar.gz rust-ea6f5cbd2f8271b073d7902f43b12154b4685aca.zip | |
Move some timers around
Diffstat (limited to 'compiler/rustc_driver_impl/src/lib.rs')
| -rw-r--r-- | compiler/rustc_driver_impl/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_driver_impl/src/lib.rs b/compiler/rustc_driver_impl/src/lib.rs index b7d64f75bf3..ae69a2dc634 100644 --- a/compiler/rustc_driver_impl/src/lib.rs +++ b/compiler/rustc_driver_impl/src/lib.rs @@ -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(()) |
