Merge remote-tracking branch 'origin/master' into no_std

This commit is contained in:
Dan Gohman
2018-04-18 17:17:43 -07:00
92 changed files with 508 additions and 295 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "cretonne-native"
version = "0.5.0"
version = "0.5.1"
authors = ["The Cretonne Project Developers"]
description = "Support for targeting the host with Cretonne"
repository = "https://github.com/cretonne/cretonne"
@@ -8,7 +8,7 @@ license = "Apache-2.0"
readme = "README.md"
[dependencies]
cretonne-codegen = { path = "../codegen", version = "0.5.0", default-features = false }
cretonne-codegen = { path = "../codegen", version = "0.5.1", default-features = false }
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = "3.0.0"

View File

@@ -2,6 +2,20 @@
//! Cretonne to generate code to run on the same machine.
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
#![warn(unused_import_braces, unstable_features)]
#![cfg_attr(feature = "clippy", plugin(clippy(conf_file = "../../clippy.toml")))]
#![cfg_attr(feature = "cargo-clippy",
allow(new_without_default, new_without_default_derive))]
#![cfg_attr(feature="cargo-clippy", warn(
float_arithmetic,
mut_mut,
nonminimal_bool,
option_map_unwrap_or,
option_map_unwrap_or_else,
print_stdout,
unicode_not_nfc,
use_self,
))]
#![cfg_attr(not(feature = "std"), no_std)]
extern crate cretonne_codegen;