2022-03-08 04:29:17 -06:00
|
|
|
From eb703e627e7a84f1cd8d0d87f0f69da1f0acf765 Mon Sep 17 00:00:00 2001
|
2021-12-03 05:20:42 -06:00
|
|
|
From: bjorn3 <bjorn3@users.noreply.github.com>
|
|
|
|
Date: Fri, 3 Dec 2021 12:16:30 +0100
|
|
|
|
Subject: [PATCH] Disable long running tests
|
|
|
|
|
|
|
|
---
|
2022-03-08 04:29:17 -06:00
|
|
|
library/core/tests/slice.rs | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
2021-12-03 05:20:42 -06:00
|
|
|
|
|
|
|
diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs
|
2022-03-08 04:29:17 -06:00
|
|
|
index 8402833..84592e0 100644
|
2021-12-03 05:20:42 -06:00
|
|
|
--- a/library/core/tests/slice.rs
|
|
|
|
+++ b/library/core/tests/slice.rs
|
2022-03-08 04:29:17 -06:00
|
|
|
@@ -2462,6 +2462,7 @@ take_tests! {
|
|
|
|
#[cfg(not(miri))] // unused in Miri
|
|
|
|
const EMPTY_MAX: &'static [()] = &[(); usize::MAX];
|
2021-12-03 05:20:42 -06:00
|
|
|
|
|
|
|
+/*
|
2022-03-08 04:29:17 -06:00
|
|
|
// can't be a constant due to const mutability rules
|
|
|
|
#[cfg(not(miri))] // unused in Miri
|
|
|
|
macro_rules! empty_max_mut {
|
|
|
|
@@ -2485,6 +2486,7 @@ take_tests! {
|
2021-12-03 05:20:42 -06:00
|
|
|
(take_mut_oob_max_range_to_inclusive, (..=usize::MAX), None, empty_max_mut!()),
|
|
|
|
(take_mut_in_bounds_max_range_from, (usize::MAX..), Some(&mut [] as _), empty_max_mut!()),
|
|
|
|
}
|
|
|
|
+*/
|
2022-03-08 04:29:17 -06:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn test_slice_from_ptr_range() {
|
2021-12-03 05:20:42 -06:00
|
|
|
--
|
|
|
|
2.26.2.7.g19db9cfb68
|
|
|
|
|