Rename 'cton_*' library names to match the 'cretonne_*' crate names.

This renames `cton_frontend` to `cretonne_frontend` and so on.

This fixes the first part of #287.
This commit is contained in:
Dan Gohman
2018-04-17 07:55:59 -07:00
parent f552c8768e
commit 7767186dd0
38 changed files with 42 additions and 62 deletions

View File

@@ -8,9 +8,6 @@ documentation = "https://cretonne.readthedocs.io/"
repository = "https://github.com/Cretonne/cretonne"
readme = "README.md"
[lib]
name = "cton_frontend"
[dependencies]
cretonne = { path = "../cretonne", version = "0.4.4" }

View File

@@ -33,13 +33,13 @@
//!
//! ```rust
//! extern crate cretonne;
//! extern crate cton_frontend;
//! extern crate cretonne_frontend;
//!
//! use cretonne::entity::EntityRef;
//! use cretonne::ir::{ExternalName, CallConv, Function, Signature, AbiParam, InstBuilder};
//! use cretonne::ir::types::*;
//! use cretonne::settings;
//! use cton_frontend::{FunctionBuilderContext, FunctionBuilder, Variable};
//! use cretonne_frontend::{FunctionBuilderContext, FunctionBuilder, Variable};
//! use cretonne::verifier::verify_function;
//!
//! fn main() {