From 2f3008aa40316f48ba75ab138d4467959557a07c Mon Sep 17 00:00:00 2001 From: Lachlan Sneff Date: Tue, 29 May 2018 18:12:18 -0400 Subject: [PATCH] Use "nightly" feature of raw-cpuid when possible. --- lib/native/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" }