diff --git a/lib/native/Cargo.toml b/lib/native/Cargo.toml index c5845b3444..17e2578339 100644 --- a/lib/native/Cargo.toml +++ b/lib/native/Cargo.toml @@ -16,7 +16,10 @@ raw-cpuid = "3.1.0" [features] default = ["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] maintenance = { status = "experimental" }