Skip to content

Commit 2c97416

Browse files
author
Jethro Beekman
committed
Fix build for Rust versions before core was stable
1 parent a4d5c45 commit 2c97416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246

247247
#[cfg(test)] #[macro_use] extern crate log;
248248

249-
#[cfg(not(feature="no_std"))] extern crate core;
249+
#[cfg(not(feature="no_std"))] extern crate std as core;
250250
#[cfg(feature="no_std")] extern crate core_io as io;
251251
#[cfg(feature="no_std")] extern crate alloc;
252252
#[cfg(feature="no_std")] extern crate collections;

0 commit comments

Comments
 (0)