Fix libcore patch
This commit is contained in:
parent
8bd9b48e7e
commit
dd76ad45b3
@ -35,8 +35,9 @@ diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs
|
|||||||
index 42a26ae..5ac1042 100644
|
index 42a26ae..5ac1042 100644
|
||||||
--- a/library/core/tests/lib.rs
|
--- a/library/core/tests/lib.rs
|
||||||
+++ b/library/core/tests/lib.rs
|
+++ b/library/core/tests/lib.rs
|
||||||
@@ -1,3 +1,4 @@
|
@@ -2,4 +2,5 @@
|
||||||
|
// tidy-alphabetical-start
|
||||||
+#![cfg(test)]
|
+#![cfg(test)]
|
||||||
#![feature(alloc_layout_extra)]
|
#![cfg_attr(bootstrap, feature(offset_of_nested))]
|
||||||
#![feature(array_chunks)]
|
#![cfg_attr(target_has_atomic = "128", feature(integer_atomics))]
|
||||||
#![feature(array_ptr_get)]
|
#![cfg_attr(test, feature(cfg_match))]
|
||||||
|
Loading…
Reference in New Issue
Block a user