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+dfsg3-1+rpi1^2~44 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3c3ba6af87e59f12bb6d7fdbab4569c1d2d0c13d;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.