Skip to content

Commit 919d0d4

Browse files
committed
Add core::cfg to the prelude
This is not always present when we are building as `rustc-dep-of-std`.
1 parent d77b8e7 commit 919d0d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/macros.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ macro_rules! prelude {
8787
pub(crate) use core::prelude::v1::derive;
8888
#[allow(unused_imports)]
8989
pub(crate) use core::{
90+
cfg,
9091
fmt,
9192
hash,
9293
iter,

0 commit comments

Comments
 (0)