about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-09 01:56:32 +0100
committerGitHub <noreply@github.com>2024-12-09 01:56:32 +0100
commit14f12919f6df82af8347bc046345dffa1478421a (patch)
treec42e85a60a7ed2181c14264cfa50c4fa39de7237
parent4d01ca8ae9e4597c11ee802dbddb56060cda99ca (diff)
parente7e58f45053887010ef44ed1d3389f72d692d2ee (diff)
downloadrust-14f12919f6df82af8347bc046345dffa1478421a.tar.gz
rust-14f12919f6df82af8347bc046345dffa1478421a.zip
Rollup merge of #133567 - bjorn3:various_cleanups, r=cjgillot
A bunch of cleanups

These are all extracted from a branch I have to get rid of driver queries. Most of the commits are not directly necessary for this, but were found in the process of implementing the removal of driver queries.

Previous PR: https://github.com/rust-lang/rust/pull/132410
-rw-r--r--src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c9486a730e1..9f552b3feb9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -227,8 +227,6 @@ impl CodegenBackend for CraneliftCodegenBackend {
         sess: &Session,
         outputs: &OutputFilenames,
     ) -> (CodegenResults, FxIndexMap<WorkProductId, WorkProduct>) {
-        let _timer = sess.timer("finish_ongoing_codegen");
-
         ongoing_codegen.downcast::<driver::aot::OngoingCodegen>().unwrap().join(sess, outputs)
     }
 }