Skip to content

Commit 54b47c8

Browse files
committed
disable partially busted SingleVariantUnion tests on aarch64
1 parent 9ad44ba commit 54b47c8

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

patches/0002-abi-cafe-Disable-broken-tests.patch

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
1-
From 378d9e451a8af1045b8cb32841198cd5ad5464a3 Mon Sep 17 00:00:00 2001
1+
From b50dd5520723dd31e84359d8748df8d62d91512e Mon Sep 17 00:00:00 2001
22
From: bjorn3 <[email protected]>
33
Date: Tue, 9 Jul 2024 11:25:14 +0000
44
Subject: [PATCH] Disable broken tests
55

66
---
7-
src/abis/mod.rs | 6 +++---
8-
src/report.rs | 4 ++++
9-
2 files changed, 7 insertions(+), 3 deletions(-)
7+
src/report.rs | 24 ++++++++++++++++++++++++
8+
1 file changed, 24 insertions(+)
109

1110
diff --git a/src/report.rs b/src/report.rs
12-
index acfce38..b3ab842 100644
11+
index 958ab43..7a66856 100644
1312
--- a/src/report.rs
1413
+++ b/src/report.rs
15-
@@ -45,6 +45,26 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn AbiImpl, callee: &dyn AbiImpl
14+
@@ -48,6 +48,30 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn Toolchain, callee: &dyn Toolc
1615
//
1716
// THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES
1817

1918
+ if cfg!(target_arch = "aarch64") && test.test == "F32Array" && test.options.convention == CallingConvention::C {
2019
+ result.check = Busted(Check);
2120
+ }
2221
+
22+
+ if cfg!(target_arch = "aarch64") && test.test == "SingleVariantUnion" && test.options.convention == CallingConvention::C && test.options.repr == LangRepr::C {
23+
+ result.check = Busted(Check);
24+
+ }
25+
+
2326
+ if cfg!(target_arch = "aarch64") && test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
2427
+ result.check = Busted(Check);
2528
+ }

0 commit comments

Comments
 (0)