summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_codegen_cranelift/patches/0023-coretests-Ignore-failing-tests.patch
blob: 385f5a8a2e039774927f732aa05be14efb325a94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From dd82e95c9de212524e14fc60155de1ae40156dfc Mon Sep 17 00:00:00 2001
From: bjorn3 <bjorn3@users.noreply.github.com>
Date: Sun, 24 Nov 2019 15:34:06 +0100
Subject: [PATCH] [core] Ignore failing tests

---
 library/core/tests/iter.rs       |  4 ++++
 library/core/tests/num/bignum.rs | 10 ++++++++++
 library/core/tests/num/mod.rs    |  5 +++--
 library/core/tests/time.rs       |  1 +
 4 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/atomic.rs b/atomic.rs
index 13b12db..96fe4b9 100644
--- a/atomic.rs
+++ b/atomic.rs
@@ -185,6 +185,7 @@ fn ptr_bitops() {
 }
 
 #[test]
+#[cfg_attr(target_arch = "s390x", ignore)] // s390x backend doesn't support stack alignment >8 bytes
 #[cfg(any(not(target_arch = "arm"), target_os = "linux"))] // Missing intrinsic in compiler-builtins
 fn ptr_bitops_tagging() {
     #[repr(align(16))]
-- 
2.21.0 (Apple Git-122)