Skip to content

Commit dd76ad4

Browse files
Fix libcore patch
1 parent 8bd9b48 commit dd76ad4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

+5-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs
3535
index 42a26ae..5ac1042 100644
3636
--- a/library/core/tests/lib.rs
3737
+++ b/library/core/tests/lib.rs
38-
@@ -1,3 +1,4 @@
38+
@@ -2,4 +2,5 @@
39+
// tidy-alphabetical-start
3940
+#![cfg(test)]
40-
#![feature(alloc_layout_extra)]
41-
#![feature(array_chunks)]
42-
#![feature(array_ptr_get)]
41+
#![cfg_attr(bootstrap, feature(offset_of_nested))]
42+
#![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
43+
#![cfg_attr(test, feature(cfg_match))]

0 commit comments

Comments
 (0)