Move the filetest harness into its own crate.
This allows us to run the tests via a library call rather than just as a command execution. And, it's a step toward a broader goal, which is to keep the code in the top-level src directory minimal, with important functionality exposed as crates.
This commit is contained in:
@@ -7,8 +7,9 @@ use std::path::PathBuf;
|
||||
use cretonne::Context;
|
||||
use cretonne::settings::FlagsOrIsa;
|
||||
use cretonne::{binemit, ir};
|
||||
use cretonne::print_errors::pretty_error;
|
||||
use std::path::Path;
|
||||
use utils::{pretty_error, read_to_string, parse_sets_and_isa};
|
||||
use utils::{read_to_string, parse_sets_and_isa};
|
||||
|
||||
struct PrintRelocs {
|
||||
flag_print: bool,
|
||||
|
||||
Reference in New Issue
Block a user