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.82.0+dfsg1-2+rpi1^2~41 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=23d62facdb8a7b60ba9bd978ec028174bb1a843c;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 dc27c578b5..79c0670bf9 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 29dbdcf225..bebc0a0491 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.