diff --git a/debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch b/debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch new file mode 100644 index 0000000000..c9684a26cf --- /dev/null +++ b/debian/patches/d-ignore-test_arc_condvar_poison-ppc.patch @@ -0,0 +1,12 @@ +Index: rustc-1.75.0+dfsg1/library/std/src/sync/mutex/tests.rs +=================================================================== +--- rustc-1.75.0+dfsg1.orig/library/std/src/sync/mutex/tests.rs ++++ rustc-1.75.0+dfsg1/library/std/src/sync/mutex/tests.rs +@@ -145,6 +145,7 @@ fn test_mutex_arc_condvar() { + } + } + ++#[cfg(not(target_arch = "powerpc"))] + #[test] + fn test_arc_condvar_poison() { + let packet = Packet(Arc::new((Mutex::new(1), Condvar::new()))); diff --git a/debian/patches/series b/debian/patches/series index 47a253e2e1..9cf609ebdc 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -25,6 +25,7 @@ u-ignore-ppc-hangs.patch u-rustc-llvm-cross-flags.patch #u-allow-system-compiler-rt.patch u-hurd-tests.patch +d-ignore-test_arc_condvar_poison-ppc.patch # Debian-specific patches, not suitable for upstream d-disable-download-tests.patch