Skip to content

Commit 57818ce

Browse files
authored
Merge pull request #1260 from uweigand/s390x-ignore-aligntest
Ignore ptr_bitops_tagging test on s390x
2 parents 64c73d0 + 8bcab19 commit 57818ce

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

patches/0023-sysroot-Ignore-failing-tests.patch

+12
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,17 @@ index 4bc44e9..8e3c7a4 100644
4646

4747
#[test]
4848
fn cell_allows_array_cycle() {
49+
diff --git a/library/core/tests/atomic.rs b/library/core/tests/atomic.rs
50+
index 13b12db..96fe4b9 100644
51+
--- a/library/core/tests/atomic.rs
52+
+++ b/library/core/tests/atomic.rs
53+
@@ -185,6 +185,7 @@ fn ptr_bitops() {
54+
}
55+
56+
#[test]
57+
+#[cfg_attr(target_arch = "s390x", ignore)] // s390x backend doesn't support stack alignment >8 bytes
58+
#[cfg(any(not(target_arch = "arm"), target_os = "linux"))] // Missing intrinsic in compiler-builtins
59+
fn ptr_bitops_tagging() {
60+
#[repr(align(16))]
4961
--
5062
2.21.0 (Apple Git-122)

0 commit comments

Comments
 (0)