about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-10-11 11:16:12 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-10-11 11:28:42 +1100
commit96224d80ce94fe461088d6e6338627130625923d (patch)
treeef5cf7aa630fa58628378d2c6bae21597b537bb7 /tests/codegen
parent52fd9983996d9fcfb719749838336be66dee68f9 (diff)
compiletest: Remove the magic hacks for finding output with `lto=thin`
This hack was intended to handle the case where `-Clto=thin` causes the
compiler to emit multiple output files (when producing LLVM-IR or assembly).

The hack only affects 4 tests, of which 3 are just meta-tests for the hack
itself. The one remaining test that motivated the hack currently doesn't even
need it!

(`tests/codegen/issues/issue-81408-dllimport-thinlto-windows.rs`)
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/thin-lto.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/codegen/thin-lto.rs b/tests/codegen/thin-lto.rs
deleted file mode 100644
index 4339d20532e..00000000000
--- a/tests/codegen/thin-lto.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-//@ compile-flags: -O -C lto=thin -C prefer-dynamic=no
-//@ only-x86_64-unknown-linux-gnu
-
-// CHECK: main
-
-pub fn main() {}