Skip to content

Commit b1ea850

Browse files
committed
allow 'extern crate alloc' even when that is the crates.io crate
1 parent e3311d9 commit b1ea850

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ pub enum DefaultHashBuilder {}
5252
extern crate std;
5353

5454
#[cfg_attr(test, macro_use)]
55+
#[cfg_attr(feature = "rustc-dep-of-std", allow(unused_extern_crates))]
5556
extern crate alloc;
5657

5758
#[cfg(feature = "nightly")]

0 commit comments

Comments
 (0)