Rename Cretonne to Cranelift!
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
[package]
|
||||
name = "cretonne-native"
|
||||
name = "cranelift-native"
|
||||
version = "0.13.0"
|
||||
authors = ["The Cretonne Project Developers"]
|
||||
description = "Support for targeting the host with Cretonne"
|
||||
repository = "https://github.com/cretonne/cretonne"
|
||||
authors = ["The Cranelift Project Developers"]
|
||||
description = "Support for targeting the host with Cranelift"
|
||||
repository = "https://github.com/cranelift/cranelift"
|
||||
license = "Apache-2.0 WITH LLVM-exception"
|
||||
readme = "README.md"
|
||||
|
||||
[dependencies]
|
||||
cretonne-codegen = { path = "../codegen", version = "0.13.0", default-features = false }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.13.0", default-features = false }
|
||||
target-lexicon = { version = "0.0.2", default-features = false }
|
||||
|
||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
|
||||
@@ -16,12 +16,12 @@ raw-cpuid = "4"
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["cretonne-codegen/std", "target-lexicon/std"]
|
||||
std = ["cranelift-codegen/std", "target-lexicon/std"]
|
||||
# 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"]
|
||||
core = ["cranelift-codegen/core", "raw-cpuid/nightly"]
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "experimental" }
|
||||
travis-ci = { repository = "cretonne/cretonne" }
|
||||
travis-ci = { repository = "cranelift/cranelift" }
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
This crate performs autodetection of the host architecture, which can be used to
|
||||
configure [Cretonne](https://crates.io/crates/cretonne) to generate code
|
||||
configure [Cranelift](https://crates.io/crates/cranelift) to generate code
|
||||
specialized for the machine it's running on.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//! Performs autodetection of the host for the purposes of running
|
||||
//! Cretonne to generate code to run on the same machine.
|
||||
//! Cranelift to generate code to run on the same machine.
|
||||
|
||||
#![deny(missing_docs, trivial_numeric_casts, unused_extern_crates)]
|
||||
#![warn(unused_import_braces, unstable_features)]
|
||||
@@ -14,13 +14,13 @@
|
||||
)]
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
extern crate cretonne_codegen;
|
||||
extern crate cranelift_codegen;
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
||||
extern crate raw_cpuid;
|
||||
extern crate target_lexicon;
|
||||
|
||||
use cretonne_codegen::isa;
|
||||
use cretonne_codegen::settings::{self, Configurable};
|
||||
use cranelift_codegen::isa;
|
||||
use cranelift_codegen::settings::{self, Configurable};
|
||||
use target_lexicon::Triple;
|
||||
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
||||
|
||||
Reference in New Issue
Block a user