Skip to content

Commit 49987fa

Browse files
committed
Fix rustc test suite
1 parent b972010 commit 49987fa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

scripts/test_rustc_tests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ rm tests/ui/typeck/issue-46112.rs # same
122122
rm tests/ui/consts/const_cmp_type_id.rs # same
123123
rm tests/ui/consts/issue-73976-monomorphic.rs # same
124124
rm tests/ui/rfcs/rfc-3348-c-string-literals/non-ascii.rs # same
125-
rm tests/ui/consts/const-eval/nonnull_as_ref_ub.rs # same
126125
rm tests/ui/consts/issue-94675.rs # same
127126
rm tests/ui/associated-types/issue-85103-layout-debug.rs # same
128127

src/driver/aot.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,7 @@ pub(crate) fn run_aot(
415415
)
416416
.0
417417
}
418-
CguReuse::PreLto => unreachable!("LTO not yet supported"),
419-
CguReuse::PostLto => {
418+
CguReuse::PreLto | CguReuse::PostLto => {
420419
concurrency_limiter.job_already_done();
421420
OngoingModuleCodegen::Sync(reuse_workproduct_for_cgu(tcx, cgu))
422421
}

0 commit comments

Comments
 (0)