summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/link-dedup
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:20:29 +0000
commit631cd5845e8de329d0e227aaa707d7ea228b8f8f (patch)
treea1b87c8f8cad01cf18f7c5f57a08f102771ed303 /tests/run-make-fulldeps/link-dedup
parentAdding debian version 1.69.0+dfsg1-1. (diff)
downloadrustc-631cd5845e8de329d0e227aaa707d7ea228b8f8f.tar.xz
rustc-631cd5845e8de329d0e227aaa707d7ea228b8f8f.zip
Merging upstream version 1.70.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/run-make-fulldeps/link-dedup')
-rw-r--r--tests/run-make-fulldeps/link-dedup/Makefile12
-rw-r--r--tests/run-make-fulldeps/link-dedup/depa.rs10
-rw-r--r--tests/run-make-fulldeps/link-dedup/depb.rs8
-rw-r--r--tests/run-make-fulldeps/link-dedup/depc.rs4
-rw-r--r--tests/run-make-fulldeps/link-dedup/empty.rs5
5 files changed, 0 insertions, 39 deletions
diff --git a/tests/run-make-fulldeps/link-dedup/Makefile b/tests/run-make-fulldeps/link-dedup/Makefile
deleted file mode 100644
index eff18ab48..000000000
--- a/tests/run-make-fulldeps/link-dedup/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-# ignore-msvc
-
-include ../tools.mk
-
-all:
- $(RUSTC) depa.rs
- $(RUSTC) depb.rs
- $(RUSTC) depc.rs
- $(RUSTC) empty.rs --cfg bar 2>&1 | $(CGREP) '"-ltesta" "-ltestb" "-ltesta"'
- $(RUSTC) empty.rs 2>&1 | $(CGREP) '"-ltesta"'
- $(RUSTC) empty.rs 2>&1 | $(CGREP) -v '"-ltestb"'
- $(RUSTC) empty.rs 2>&1 | $(CGREP) -v '"-ltesta" "-ltesta" "-ltesta"'
diff --git a/tests/run-make-fulldeps/link-dedup/depa.rs b/tests/run-make-fulldeps/link-dedup/depa.rs
deleted file mode 100644
index 19178c5bd..000000000
--- a/tests/run-make-fulldeps/link-dedup/depa.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-#![crate_type = "rlib"]
-
-#[link(name = "testa")]
-extern "C" {}
-
-#[link(name = "testa")]
-extern "C" {}
-
-#[link(name = "testa")]
-extern "C" {}
diff --git a/tests/run-make-fulldeps/link-dedup/depb.rs b/tests/run-make-fulldeps/link-dedup/depb.rs
deleted file mode 100644
index b1be21fe0..000000000
--- a/tests/run-make-fulldeps/link-dedup/depb.rs
+++ /dev/null
@@ -1,8 +0,0 @@
-#![feature(link_cfg)]
-#![crate_type = "rlib"]
-
-#[link(name = "testb", cfg(foo))]
-extern "C" {}
-
-#[link(name = "testb", cfg(bar))]
-extern "C" {}
diff --git a/tests/run-make-fulldeps/link-dedup/depc.rs b/tests/run-make-fulldeps/link-dedup/depc.rs
deleted file mode 100644
index 8dcb3dee5..000000000
--- a/tests/run-make-fulldeps/link-dedup/depc.rs
+++ /dev/null
@@ -1,4 +0,0 @@
-#![crate_type = "rlib"]
-
-#[link(name = "testa")]
-extern "C" {}
diff --git a/tests/run-make-fulldeps/link-dedup/empty.rs b/tests/run-make-fulldeps/link-dedup/empty.rs
deleted file mode 100644
index e00ae18f4..000000000
--- a/tests/run-make-fulldeps/link-dedup/empty.rs
+++ /dev/null
@@ -1,5 +0,0 @@
-extern crate depa;
-extern crate depb;
-extern crate depc;
-
-fn main() {}