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.81.0+dfsg1-2+rpi1~1^2~38 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ce7bc465943861521e171702332594dd6c1c86aa;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 c37a80dca9..469170430d 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 499740e738..e418a7dad5 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.