Fix broken build on no_std
This commit is contained in:
committed by
Dan Gohman
parent
262689908e
commit
202e45c213
@@ -119,6 +119,6 @@ mod std {
|
||||
|
||||
pub use self::hashmap_core::map as hash_map;
|
||||
pub use self::hashmap_core::{HashMap, HashSet};
|
||||
pub use alloc::BTreeSet;
|
||||
pub use alloc::collections::BTreeSet;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ cranelift-codegen = { path = "../codegen", version = "0.14.0", default-features
|
||||
target-lexicon = { version = "0.0.2", default-features = false }
|
||||
|
||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
|
||||
raw-cpuid = "4"
|
||||
raw-cpuid = "3.1.0"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
|
||||
Reference in New Issue
Block a user