Skip to content

Commit 7355373

Browse files
committed
mark the OptionU128 test as partially working on aarch64
1 parent 8783b01 commit 7355373

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

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

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
1-
From 2348d745accc6cca9fc7c4df516fd38b2e94a546 Mon Sep 17 00:00:00 2001
1+
From d1e33b3a0c31fa3e2379cf5c0745b71245139f7a 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/report.rs | 20 ++++++++++++++++++++
8-
1 file changed, 20 insertions(+)
7+
src/report.rs | 24 ++++++++++++++++++++++++
8+
1 file changed, 24 insertions(+)
99

1010
diff --git a/src/report.rs b/src/report.rs
11-
index 958ab43..e01f446 100644
11+
index 958ab43..56326fd 100644
1212
--- a/src/report.rs
1313
+++ b/src/report.rs
14-
@@ -48,6 +48,26 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn Toolchain, callee: &dyn Toolc
14+
@@ -48,6 +48,30 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn Toolchain, callee: &dyn Toolc
1515
//
1616
// THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES
1717

1818
+ if cfg!(target_arch = "aarch64") && test.test == "SingleVariantUnion" && test.options.convention == CallingConvention::C && test.options.repr == LangRepr::C {
1919
+ result.check = Busted(Check);
2020
+ }
2121
+
22-
+ if cfg!(target_arch = "aarch64") && test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
22+
+ if cfg!(target_arch = "aarch64") && test.test == "OptionU128" && test.caller == "rustc" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
23+
+ result.check = Busted(Run);
24+
+ }
25+
+
26+
+ if cfg!(target_arch = "aarch64") && test.test == "OptionU128" && test.caller == "cgclif" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
2327
+ result.check = Busted(Check);
2428
+ }
2529
+

0 commit comments

Comments
 (0)