Don't test -Cdefault-linker-libraries=yes when cross compiling.

This commit is contained in:
Mara Bos 2022-04-12 15:00:44 +02:00
parent b8f4cb6231
commit 284255add5

View File

@ -2,6 +2,7 @@
// compile-flags: -Zlink-native-libraries=no -Cdefault-linker-libraries=yes
// ignore-windows - this will probably only work on unixish systems
// ignore-fuchsia - missing __libc_start_main for some reason (#84733)
// ignore-cross-compile - default-linker-libraries=yes doesn't play well with cross compiling
#[link(name = "some-random-non-existent-library", kind = "static")]
extern "C" {}