Skip to content

Commit cc81c70

Browse files
committed
Fix patches
1 parent c1d2100 commit cc81c70

File tree

2 files changed

+13
-57
lines changed

2 files changed

+13
-57
lines changed

patches/0022-core-Disable-not-compiling-tests.patch

Lines changed: 0 additions & 44 deletions
This file was deleted.
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
From eb703e627e7a84f1cd8d0d87f0f69da1f0acf765 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
1+
From ec2d0dc77fb484d926b45bb626b0db6a4bb0ab5c Mon Sep 17 00:00:00 2001
2+
From: None <none@example.com>
3+
Date: Thu, 27 Mar 2025 09:20:41 -0400
44
Subject: [PATCH] Disable long running tests
55

66
---
7-
library/core/tests/slice.rs | 2 ++
7+
library/coretests/tests/slice.rs | 2 ++
88
1 file changed, 2 insertions(+)
99

10-
diff --git a/library/core/tests/slice.rs b/library/core/tests/slice.rs
11-
index 8402833..84592e0 100644
12-
--- a/library/core/tests/slice.rs
13-
+++ b/library/core/tests/slice.rs
14-
@@ -2462,6 +2462,7 @@ take_tests! {
10+
diff --git a/library/coretests/tests/slice.rs b/library/coretests/tests/slice.rs
11+
index d17e681..fba5cd6 100644
12+
--- a/library/coretests/tests/slice.rs
13+
+++ b/library/coretests/tests/slice.rs
14+
@@ -2486,6 +2486,7 @@ split_off_tests! {
1515
#[cfg(not(miri))] // unused in Miri
1616
const EMPTY_MAX: &'static [()] = &[(); usize::MAX];
1717

1818
+/*
1919
// can't be a constant due to const mutability rules
2020
#[cfg(not(miri))] // unused in Miri
2121
macro_rules! empty_max_mut {
22-
@@ -2485,6 +2486,7 @@ take_tests! {
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!()),
22+
@@ -2509,6 +2510,7 @@ split_off_tests! {
23+
(split_off_mut_oob_max_range_to_inclusive, (..=usize::MAX), None, empty_max_mut!()),
24+
(split_off_mut_in_bounds_max_range_from, (usize::MAX..), Some(&mut [] as _), empty_max_mut!()),
2525
}
2626
+*/
2727

2828
#[test]
2929
fn test_slice_from_ptr_range() {
3030
--
31-
2.26.2.7.g19db9cfb68
31+
2.49.0
3232

0 commit comments

Comments
 (0)