Followup to #345 to fix no_std errors.

This commit is contained in:
Dan Gohman
2018-05-22 07:23:28 -07:00
parent 89e7d56120
commit f835a1b662

View File

@@ -30,7 +30,6 @@
#![cfg_attr(not(feature = "std"), feature(alloc))]
#[cfg(not(feature = "std"))]
#[macro_use]
extern crate alloc;
#[allow(unused_extern_crates)]
@@ -65,6 +64,8 @@ mod std {
pub use alloc::vec;
pub use alloc::string;
pub use core::{u32, i32, str, cmp};
pub use core::fmt;
pub use core::option;
pub mod collections {
pub use hashmap_core::{HashMap, map as hash_map};
}