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:
Alex Crichton
2021-01-26 16:42:11 -06:00
committed by GitHub
parent 503129ad91
commit 7f840870c7
3 changed files with 31 additions and 56 deletions

10
Cargo.lock generated
View File

@@ -607,7 +607,6 @@ name = "cranelift-native"
version = "0.69.0"
dependencies = [
"cranelift-codegen",
"raw-cpuid",
"target-lexicon",
]
@@ -2145,15 +2144,6 @@ dependencies = [
"rand_core 0.5.1",
]
[[package]]
name = "raw-cpuid"
version = "9.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c27cb5785b85bd05d4eb171556c9a1a514552e26123aeae6bb7d811353148026"
dependencies = [
"bitflags",
]
[[package]]
name = "rawbytes"
version = "0.1.1"