Use "nightly" feature of raw-cpuid when possible.

This commit is contained in:
Lachlan Sneff
2018-05-29 18:12:18 -04:00
committed by Dan Gohman
parent a1fe0f82e1
commit 2f3008aa40

View File

@@ -16,7 +16,10 @@ raw-cpuid = "3.1.0"
[features] [features]
default = ["std"] default = ["std"]
std = ["cretonne-codegen/std"] std = ["cretonne-codegen/std"]
core = ["cretonne-codegen/core"] # when compiling with the "core" feature, nightly must be enabled
# enabling the "nightly" feature for raw-cpuid allows avoiding
# linking in a c-library.
core = ["cretonne-codegen/core", "raw-cpuid/nightly"]
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }