From 9dd009eb663cade26934db46e5d52d4929639e0b Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Fri, 14 Nov 2025 12:44:22 -0500 Subject: [PATCH] Add back failing LTO tests --- .github/workflows/release.yml | 3 +++ tests/failing-lto-tests.txt | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/failing-lto-tests.txt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52f94dc2970a..895d66f9a4ac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,6 +72,9 @@ jobs: git config --global user.name "User" ./y.sh prepare + - name: Add more failing tests (some panic and debuginfo tests fail) + run: cat tests/failing-lto-tests.txt >> tests/failing-ui-tests.txt + - name: Run tests run: | # FIXME(antoyo): we cannot enable LTO for stdarch tests currently because of some failing LTO tests using proc-macros. diff --git a/tests/failing-lto-tests.txt b/tests/failing-lto-tests.txt new file mode 100644 index 000000000000..c45fc0776588 --- /dev/null +++ b/tests/failing-lto-tests.txt @@ -0,0 +1,7 @@ +tests/ui/lto/all-crates.rs +tests/ui/lto/debuginfo-lto-alloc.rs +tests/ui/panic-runtime/lto-unwind.rs +tests/ui/uninhabited/uninhabited-transparent-return-abi.rs +tests/ui/coroutine/panic-drops-resume.rs +tests/ui/coroutine/panic-drops.rs +tests/ui/coroutine/panic-safe.rs