From: Debian Rust Maintainers Date: Thu, 14 Jul 2022 11:17:37 +0000 (+0200) Subject: u-ignore-ppc-hangs X-Git-Tag: archive/raspbian/1.85.0+dfsg2-2+rpi1~6^2^2~43 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ec3c189ab5b83fac47748a77724a49de01e50e79;p=rustc.git u-ignore-ppc-hangs Bug: https://github.com/rust-lang/rust/issues/89607 Gbp-Pq: Topic upstream Gbp-Pq: Name u-ignore-ppc-hangs.patch --- diff --git a/library/alloc/tests/arc.rs b/library/alloc/tests/arc.rs index a259c0131e..0ac0cbee62 100644 --- a/library/alloc/tests/arc.rs +++ b/library/alloc/tests/arc.rs @@ -95,6 +95,7 @@ const SHARED_ITER_MAX: u16 = 100; fn assert_trusted_len(_: &I) {} +#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))] #[test] fn shared_from_iter_normal() { // Exercise the base implementation for non-`TrustedLen` iterators. diff --git a/library/alloc/tests/rc.rs b/library/alloc/tests/rc.rs index 451765d724..363c29ccfd 100644 --- a/library/alloc/tests/rc.rs +++ b/library/alloc/tests/rc.rs @@ -91,6 +91,7 @@ const SHARED_ITER_MAX: u16 = 100; fn assert_trusted_len(_: &I) {} +#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))] #[test] fn shared_from_iter_normal() { // Exercise the base implementation for non-`TrustedLen` iterators.