Fix no-std build.
This commit is contained in:
parent
b0ce3ee445
commit
faa81ac3fc
@ -15,10 +15,13 @@ use crate::{
|
|||||||
Scope, ERR,
|
Scope, ERR,
|
||||||
};
|
};
|
||||||
#[cfg(feature = "no_std")]
|
#[cfg(feature = "no_std")]
|
||||||
|
use hashbrown::hash_map::Entry;
|
||||||
|
#[cfg(not(feature = "no_std"))]
|
||||||
|
use std::collections::hash_map::Entry;
|
||||||
|
#[cfg(feature = "no_std")]
|
||||||
use std::prelude::v1::*;
|
use std::prelude::v1::*;
|
||||||
use std::{
|
use std::{
|
||||||
any::{type_name, TypeId},
|
any::{type_name, TypeId},
|
||||||
collections::hash_map::Entry,
|
|
||||||
convert::TryFrom,
|
convert::TryFrom,
|
||||||
mem,
|
mem,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user