u-ignore-ppc-hangs
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 14 Jul 2022 11:17:37 +0000 (13:17 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Mon, 12 Jun 2023 16:36:56 +0000 (17:36 +0100)
Bug: https://github.com/rust-lang/rust/issues/89607

Gbp-Pq: Name u-ignore-ppc-hangs.patch

library/alloc/tests/arc.rs
library/alloc/tests/rc.rs

index ce40b5c9b0a0d3a5948635c131dc1b353adbbcfb..e99ebf54c1406855505886e1eeae1a5514a28c13 100644 (file)
@@ -96,6 +96,7 @@ const SHARED_ITER_MAX: u16 = 100;
 
 fn assert_trusted_len<I: TrustedLen>(_: &I) {}
 
+#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))]
 #[test]
 fn shared_from_iter_normal() {
     // Exercise the base implementation for non-`TrustedLen` iterators.
index efb39a609665b33ad2e6b9b43a75533a98f1feb5..b2f0e04cbe320b82e4868cf292c9d89f7f373175 100644 (file)
@@ -92,6 +92,7 @@ const SHARED_ITER_MAX: u16 = 100;
 
 fn assert_trusted_len<I: TrustedLen>(_: &I) {}
 
+#[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))]
 #[test]
 fn shared_from_iter_normal() {
     // Exercise the base implementation for non-`TrustedLen` iterators.