Most of the way to no_std support

This commit is contained in:
Lachlan Sneff
2018-01-15 14:05:38 -05:00
committed by Dan Gohman
parent 2a26b70854
commit 7375088c3e
42 changed files with 146 additions and 5 deletions

View File

@@ -15,3 +15,6 @@ cretonne = { path = "../cretonne", version = "0.1.0" }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = "3.0.0"
[features]
no_std = ["cretonne/no_std"]

View File

@@ -1,6 +1,6 @@
//! Performs autodetection of the host for the purposes of running
//! Cretonne to generate code to run on the same machine.
#![cfg_attr(feature = "no_std", no_std)]
#![deny(missing_docs)]
extern crate cretonne;