Skip to content

Commit 1afe225

Browse files
committed
Auto merge of #8301 - ehuss:disable-strip-macos, r=alexcrichton
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).
2 parents 15bb455 + 69b1ae6 commit 1afe225

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testsuite/profiles.rs

+2
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,8 @@ fn thin_lto_works() {
470470
}
471471

472472
#[cargo_test]
473+
// Strip doesn't work on macos.
474+
#[cfg_attr(target_os = "macos", ignore)]
473475
fn strip_works() {
474476
if !is_nightly() {
475477
return;

0 commit comments

Comments
 (0)