We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea7f15 commit 642486cCopy full SHA for 642486c
library/core/tests/lib.rs
@@ -68,7 +68,7 @@
68
#![feature(option_result_unwrap_unchecked)]
69
#![feature(option_unwrap_none)]
70
#![feature(peekable_peek_mut)]
71
-#![feature(ptr_metadata)]
+#![cfg_attr(not(bootstrap), feature(ptr_metadata))]
72
#![feature(once_cell)]
73
#![feature(unsafe_block_in_unsafe_fn)]
74
#![feature(unsized_tuple_coercion)]
library/core/tests/ptr.rs
@@ -1,5 +1,8 @@
1
use core::cell::RefCell;
2
-use core::ptr::{self, *};
+#[cfg(not(bootstrap))]
3
+use core::ptr;
4
+use core::ptr::*;
5
6
use std::fmt::{Debug, Display};
7
8
#[test]
0 commit comments