Use "nightly" feature of raw-cpuid when possible.
This commit is contained in:
committed by
Dan Gohman
parent
a1fe0f82e1
commit
2f3008aa40
@@ -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" }
|
||||||
|
|||||||
Reference in New Issue
Block a user