]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_codegen_cranelift/patches/0028-sysroot-Disable-long-running-tests.patch
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[rust.git] / compiler / rustc_codegen_cranelift / patches / 0028-sysroot-Disable-long-running-tests.patch
1 From 0ffdd8eda8df364391c8ac6e1ce92c73ba9254d4 Mon Sep 17 00:00:00 2001
2 From: bjorn3 <bjorn3@users.noreply.github.com>
3 Date: Fri, 3 Dec 2021 12:16:30 +0100
4 Subject: [PATCH] Disable long running tests
5
6 ---
7  library/core/tests/slice.rs | 3 +++
8  1 file changed, 3 insertions(+)
9
10 diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs
11 index 2c8f00a..44847ee 100644
12 --- a/library/core/tests/slice.rs
13 +++ b/library/core/tests/slice.rs
14 @@ -2332,7 +2332,8 @@ macro_rules! empty_max_mut {
15      };
16  }
17  
18 +/*
19  #[cfg(not(miri))] // Comparing usize::MAX many elements takes forever in Miri (and in rustc without optimizations)
20  take_tests! {
21      slice: &[(); usize::MAX], method: take,
22      (take_in_bounds_max_range_to, (..usize::MAX), Some(EMPTY_MAX), &[(); 0]),
23 @@ -2345,3 +2347,4 @@ take_tests! {
24      (take_mut_oob_max_range_to_inclusive, (..=usize::MAX), None, empty_max_mut!()),
25      (take_mut_in_bounds_max_range_from, (usize::MAX..), Some(&mut [] as _), empty_max_mut!()),
26  }
27 +*/
28 -- 
29 2.26.2.7.g19db9cfb68
30