Skip to content

Commit 550a510

Browse files
authored
Rollup merge of #95975 - m-ou-se:test-70093-no-cross, r=joshtriplett
Don't test -Cdefault-linker-libraries=yes when cross compiling. See #95727 (comment) and the five comments below that. Unblocks #95727.
2 parents 911da62 + 284255a commit 550a510

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/ui/issues/issue-70093.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// compile-flags: -Zlink-native-libraries=no -Cdefault-linker-libraries=yes
33
// ignore-windows - this will probably only work on unixish systems
44
// ignore-fuchsia - missing __libc_start_main for some reason (#84733)
5+
// ignore-cross-compile - default-linker-libraries=yes doesn't play well with cross compiling
56

67
#[link(name = "some-random-non-existent-library", kind = "static")]
78
extern "C" {}

0 commit comments

Comments
 (0)