]> git.lizzy.rs Git - rust.git/blob - patches/0001-abi-cafe-Disable-some-test-on-x86_64-pc-windows-gnu.patch
Sync from rust e64f1110c062f61746f222059439529a43ccf6dc
[rust.git] / patches / 0001-abi-cafe-Disable-some-test-on-x86_64-pc-windows-gnu.patch
1 From 2b15fee2bb5fd14e34c7e17e44d99cb34f4c555d Mon Sep 17 00:00:00 2001
2 From: Afonso Bordado <afonsobordado@az8.co>
3 Date: Tue, 27 Sep 2022 07:55:17 +0100
4 Subject: [PATCH] Disable some test on x86_64-pc-windows-gnu
5
6 ---
7  src/report.rs | 6 ++++++
8  1 file changed, 6 insertions(+)
9
10 diff --git a/src/report.rs b/src/report.rs
11 index eeec614..f582867 100644
12 --- a/src/report.rs
13 +++ b/src/report.rs
14 @@ -48,6 +48,12 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn AbiImpl, callee: &dyn AbiImpl
15      //
16      // THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES
17  
18 +    // x86_64-pc-windows-gnu has some broken i128 tests that aren't disabled by default
19 +    if cfg!(all(target_os = "windows", target_env = "gnu")) && test.test_name == "ui128" {
20 +        result.run = Link;
21 +        result.check = Pass(Link);
22 +    }
23 +
24      // END OF VENDOR RESERVED AREA
25      //
26      //
27 -- 
28 2.30.1.windows.1
29