Skip to content

Commit

Permalink
Don't test -Cdefault-linker-libraries=yes when cross compiling.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Apr 12, 2022
1 parent b8f4cb6 commit 284255a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/ui/issues/issue-70093.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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" {}
Expand Down

0 comments on commit 284255a

Please sign in to comment.