diff --git a/tests/testsuite/profiles.rs b/tests/testsuite/profiles.rs index 1a51d20b0eb..40c22b9effe 100644 --- a/tests/testsuite/profiles.rs +++ b/tests/testsuite/profiles.rs @@ -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;