diff --git a/lib/codegen/src/lib.rs b/lib/codegen/src/lib.rs index d4806f9665..f9ce64bcf8 100644 --- a/lib/codegen/src/lib.rs +++ b/lib/codegen/src/lib.rs @@ -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; } } diff --git a/lib/native/Cargo.toml b/lib/native/Cargo.toml index 1771c916e8..d0eec66679 100644 --- a/lib/native/Cargo.toml +++ b/lib/native/Cargo.toml @@ -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"]