Skip to content

Commit

Permalink
Rollup merge of rust-lang#95975 - m-ou-se:test-70093-no-cross, r=josh…
Browse files Browse the repository at this point in the history
…triplett

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

See rust-lang#95727 (comment) and the five comments below that.

Unblocks rust-lang#95727.
  • Loading branch information
m-ou-se authored Apr 12, 2022
2 parents 911da62 + 284255a commit 550a510
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 550a510

Please sign in to comment.