Skip to content

Commit 58e4644

Browse files
committed
Update run-make-fulldeps tests
Adjacent identical native libraries are no longer deduplicated if they come from different crates
1 parent 82ecfd4 commit 58e4644

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/test/run-make-fulldeps/link-dedup/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ all:
99
$(RUSTC) empty.rs --cfg bar 2>&1 | $(CGREP) '"-ltesta" "-ltestb" "-ltesta"'
1010
$(RUSTC) empty.rs 2>&1 | $(CGREP) '"-ltesta"'
1111
$(RUSTC) empty.rs 2>&1 | $(CGREP) -v '"-ltestb"'
12-
$(RUSTC) empty.rs 2>&1 | $(CGREP) -v '"-ltesta" "-ltesta"'
12+
$(RUSTC) empty.rs 2>&1 | $(CGREP) -v '"-ltesta" "-ltesta" "-ltesta"'

src/test/run-make-fulldeps/link-dedup/depa.rs

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ extern "C" {}
55

66
#[link(name = "testa")]
77
extern "C" {}
8+
9+
#[link(name = "testa")]
10+
extern "C" {}

0 commit comments

Comments
 (0)