about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-06-02 04:18:14 +0000
committerbors <bors@rust-lang.org>2025-06-02 04:18:14 +0000
commit91fad92585b2dafc52a074e502b2a6c1f093ca35 (patch)
tree3eae6a5cfe25f68488d93e28b6607f8933551b7e /compiler/rustc_interface/src
parent2fc3deed9fcb8762ad57191e0195f06f7543e4a5 (diff)
parentc56a3093ea08395a5d928269249256a40b31d5db (diff)
downloadrust-91fad92585b2dafc52a074e502b2a6c1f093ca35.tar.gz
rust-91fad92585b2dafc52a074e502b2a6c1f093ca35.zip
Auto merge of #141773 - oli-obk:coro-borrow-parallel-loop, r=compiler-errors
Merge coroutine obligation checking into borrowck parallel loop

r? `@ghost`

attempts at increasing parallelism in parallel rustc by merging parallel blocks that run in sequence
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 75d92ae7a2e..5bc7559d29a 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -1012,10 +1012,6 @@ fn run_required_analyses(tcx: TyCtxt<'_>) {
             {
                 tcx.ensure_ok().mir_drops_elaborated_and_const_checked(def_id);
             }
-        });
-    });
-    sess.time("coroutine_obligations", || {
-        tcx.par_hir_body_owners(|def_id| {
             if tcx.is_coroutine(def_id.to_def_id()) {
                 tcx.ensure_ok().mir_coroutine_witnesses(def_id);
                 let _ = tcx.ensure_ok().check_coroutine_obligations(