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:
@@ -10,11 +10,11 @@
|
||||
|
||||
#[macro_use(dbg)]
|
||||
extern crate cretonne;
|
||||
extern crate cton_reader;
|
||||
extern crate cretonne_reader;
|
||||
extern crate filecheck;
|
||||
extern crate num_cpus;
|
||||
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use runner::TestRunner;
|
||||
use std::path::Path;
|
||||
use std::time;
|
||||
|
||||
@@ -6,8 +6,8 @@ use cretonne::print_errors::pretty_verifier_error;
|
||||
use cretonne::settings::Flags;
|
||||
use cretonne::timing;
|
||||
use cretonne::verify_function;
|
||||
use cton_reader::IsaSpec;
|
||||
use cton_reader::parse_test;
|
||||
use cretonne_reader::IsaSpec;
|
||||
use cretonne_reader::parse_test;
|
||||
use std::borrow::Cow;
|
||||
use std::fs;
|
||||
use std::io::{self, Read};
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::isa::TargetIsa;
|
||||
use cretonne::settings::{Flags, FlagsOrIsa};
|
||||
use cton_reader::{Comment, Details};
|
||||
use cretonne_reader::{Comment, Details};
|
||||
use filecheck::{Checker, CheckerBuilder, NO_VARIABLES};
|
||||
use std::borrow::Cow;
|
||||
use std::result;
|
||||
|
||||
@@ -9,7 +9,7 @@ use cretonne::dbg::DisplayList;
|
||||
use cretonne::ir;
|
||||
use cretonne::ir::entities::AnyEntity;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use match_directive::match_directive;
|
||||
use std::borrow::Cow;
|
||||
use std::collections::HashMap;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! The `cat` subtest.
|
||||
|
||||
use cretonne::ir::Function;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use subtest::{self, Context, Result as STResult, SubTest};
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use cretonne;
|
||||
use cretonne::binemit;
|
||||
use cretonne::ir;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
use cretonne;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -16,7 +16,7 @@ use cretonne::dominator_tree::{DominatorTree, DominatorTreePreorder};
|
||||
use cretonne::flowgraph::ControlFlowGraph;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::ir::entities::AnyEntity;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use match_directive::match_directive;
|
||||
use std::borrow::{Borrow, Cow};
|
||||
use std::collections::HashMap;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
use cretonne;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
use cretonne;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
use cretonne;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
use cretonne;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -7,7 +7,7 @@ use std::borrow::Cow;
|
||||
|
||||
use cretonne::cfg_printer::CFGPrinter;
|
||||
use cretonne::ir::Function;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use subtest::{self, Context, Result as STResult, SubTest};
|
||||
|
||||
/// Object implementing the `test print-cfg` sub-test.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
use cretonne;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
use cretonne;
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Write;
|
||||
use subtest::{run_filecheck, Context, Result, SubTest};
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
use cretonne::ir::Function;
|
||||
use cretonne::verify_function;
|
||||
use cton_reader::TestCommand;
|
||||
use cretonne_reader::TestCommand;
|
||||
use match_directive::match_directive;
|
||||
use std::borrow::{Borrow, Cow};
|
||||
use subtest::{Context, Result, SubTest};
|
||||
|
||||
Reference in New Issue
Block a user