]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_codegen_gcc/patches/0028-core-Disable-long-running-tests.patch
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_codegen_gcc / patches / 0028-core-Disable-long-running-tests.patch
CommitLineData
5e7ed085 1From eb703e627e7a84f1cd8d0d87f0f69da1f0acf765 Mon Sep 17 00:00:00 2001
a2a8927a
XL
2From: bjorn3 <bjorn3@users.noreply.github.com>
3Date: Fri, 3 Dec 2021 12:16:30 +0100
4Subject: [PATCH] Disable long running tests
5
6---
5e7ed085
FG
7 library/core/tests/slice.rs | 2 ++
8 1 file changed, 2 insertions(+)
a2a8927a
XL
9
10diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs
5e7ed085 11index 8402833..84592e0 100644
a2a8927a
XL
12--- a/library/core/tests/slice.rs
13+++ b/library/core/tests/slice.rs
5e7ed085
FG
14@@ -2462,6 +2462,7 @@ take_tests! {
15 #[cfg(not(miri))] // unused in Miri
16 const EMPTY_MAX: &'static [()] = &[(); usize::MAX];
a2a8927a
XL
17
18+/*
5e7ed085
FG
19 // can't be a constant due to const mutability rules
20 #[cfg(not(miri))] // unused in Miri
21 macro_rules! empty_max_mut {
22@@ -2485,6 +2486,7 @@ take_tests! {
a2a8927a
XL
23 (take_mut_oob_max_range_to_inclusive, (..=usize::MAX), None, empty_max_mut!()),
24 (take_mut_in_bounds_max_range_from, (usize::MAX..), Some(&mut [] as _), empty_max_mut!()),
25 }
26+*/
5e7ed085
FG
27
28 #[test]
29 fn test_slice_from_ptr_range() {
a2a8927a
XL
30--
312.26.2.7.g19db9cfb68
32