Fix broken build on no_std

This commit is contained in:
Lachlan Sneff
2018-07-12 22:17:25 -04:00
committed by Dan Gohman
parent 262689908e
commit 202e45c213
2 changed files with 2 additions and 2 deletions

View File

@@ -119,6 +119,6 @@ mod std {
pub use self::hashmap_core::map as hash_map; pub use self::hashmap_core::map as hash_map;
pub use self::hashmap_core::{HashMap, HashSet}; pub use self::hashmap_core::{HashMap, HashSet};
pub use alloc::BTreeSet; pub use alloc::collections::BTreeSet;
} }
} }

View File

@@ -12,7 +12,7 @@ cranelift-codegen = { path = "../codegen", version = "0.14.0", default-features
target-lexicon = { version = "0.0.2", default-features = false } target-lexicon = { version = "0.0.2", default-features = false }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies] [target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = "4" raw-cpuid = "3.1.0"
[features] [features]
default = ["std"] default = ["std"]