about summary refs log tree commit diff
path: root/tests/run-make/rust-lld-by-default-beta-stable/rmake.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/rust-lld-by-default-beta-stable/rmake.rs')
-rw-r--r--tests/run-make/rust-lld-by-default-beta-stable/rmake.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/run-make/rust-lld-by-default-beta-stable/rmake.rs b/tests/run-make/rust-lld-by-default-beta-stable/rmake.rs
deleted file mode 100644
index 9a08991c4b8..00000000000
--- a/tests/run-make/rust-lld-by-default-beta-stable/rmake.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// Ensure that rust-lld is *not* used as the default linker on `x86_64-unknown-linux-gnu` on stable
-// or beta.
-
-//@ ignore-nightly
-//@ only-x86_64-unknown-linux-gnu
-
-use run_make_support::linker::assert_rustc_doesnt_use_lld;
-use run_make_support::rustc;
-
-fn main() {
-    // A regular compilation should not use rust-lld by default. We'll check that by asking the
-    // linker to display its version number with a link-arg.
-    assert_rustc_doesnt_use_lld(rustc().input("main.rs"));
-}