Skip to content

Commit

Permalink
Auto merge of #8301 - ehuss:disable-strip-macos, r=alexcrichton
Browse files Browse the repository at this point in the history
Disable strip_works test on macos.

This feature doesn't work on macOS, because it uses ld64 with clang.  See rust-lang/rust#72110 (comment).
  • Loading branch information
bors committed Jun 1, 2020
2 parents 15bb455 + 69b1ae6 commit 1afe225
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testsuite/profiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ fn thin_lto_works() {
}

#[cargo_test]
// Strip doesn't work on macos.
#[cfg_attr(target_os = "macos", ignore)]
fn strip_works() {
if !is_nightly() {
return;
Expand Down

0 comments on commit 1afe225

Please sign in to comment.