Merge commit 'dec0daa8f6
' into sync_cg_clif-2023-03-15
This commit is contained in:
commit
fce629d2e9
52 changed files with 873 additions and 792 deletions
|
@ -377,7 +377,7 @@ pub(crate) fn run_aot(
|
|||
};
|
||||
|
||||
if tcx.dep_graph.is_fully_enabled() {
|
||||
for cgu in &*cgus {
|
||||
for cgu in cgus {
|
||||
tcx.ensure().codegen_unit(cgu.name());
|
||||
}
|
||||
}
|
||||
|
@ -417,7 +417,7 @@ pub(crate) fn run_aot(
|
|||
CguReuse::PreLto => unreachable!(),
|
||||
CguReuse::PostLto => {
|
||||
concurrency_limiter.job_already_done();
|
||||
OngoingModuleCodegen::Sync(reuse_workproduct_for_cgu(tcx, &*cgu))
|
||||
OngoingModuleCodegen::Sync(reuse_workproduct_for_cgu(tcx, cgu))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue