Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit be19c03

Browse files
committed
Silence almost all warnings when compiling coretests
1 parent 26d0d25 commit be19c03

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,14 @@ index 0000000..46fd999
3131
+[dependencies]
3232
+rand = { version = "0.8.5", default-features = false }
3333
+rand_xorshift = { version = "0.3.0", default-features = false }
34+
diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs
35+
index 42a26ae..5ac1042 100644
36+
--- a/library/core/tests/lib.rs
37+
+++ b/library/core/tests/lib.rs
38+
@@ -1,3 +1,4 @@
39+
+#![cfg(test)]
40+
#![feature(alloc_layout_extra)]
41+
#![feature(array_chunks)]
42+
#![feature(array_methods)]
3443
--
3544
2.21.0 (Apple Git-122)

0 commit comments

Comments
 (0)