cranelift-native: Use libstd feature detection (#2607)
This commit switches cranelift-native to useing the `is_x86_feature_detected!` macro in the standard library instead of the `raw-cpuid` crate.
This commit is contained in:
@@ -14,9 +14,6 @@ edition = "2018"
|
||||
cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
|
||||
target-lexicon = "0.11"
|
||||
|
||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
|
||||
raw-cpuid = "9.0.0"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["cranelift-codegen/std"]
|
||||
|
||||
Reference in New Issue
Block a user