rename struct for naming consistency
This commit is contained in:
parent
8e269afcfe
commit
bb1dfa0276
2 changed files with 6 additions and 4 deletions
|
|
@ -14,12 +14,12 @@ use intrinsic::Intrinsic;
|
|||
use json_parser::get_neon_intrinsics;
|
||||
use types::TypeKind;
|
||||
|
||||
pub struct ArmTestProcessor {
|
||||
pub struct ArmArchitectureTest {
|
||||
intrinsics: Vec<Intrinsic>,
|
||||
cli_options: ProcessedCli,
|
||||
}
|
||||
|
||||
impl SupportedArchitectureTest for ArmTestProcessor {
|
||||
impl SupportedArchitectureTest for ArmArchitectureTest {
|
||||
fn create(cli_options: ProcessedCli) -> Self {
|
||||
let a32 = cli_options.target.contains("v7");
|
||||
let mut intrinsics =
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ extern crate log;
|
|||
mod arm;
|
||||
mod common;
|
||||
|
||||
use arm::ArmTestProcessor;
|
||||
use arm::ArmArchitectureTest;
|
||||
use common::SupportedArchitectureTest;
|
||||
use common::types::{Cli, ProcessedCli};
|
||||
|
||||
|
|
@ -17,7 +17,9 @@ fn main() {
|
|||
let test_environment_result = match processed_cli_options.target.as_str() {
|
||||
"aarch64-unknown-linux-gnu"
|
||||
| "armv7-unknown-linux-gnueabihf"
|
||||
| "aarch64_be-unknown-linux-gnu" => Some(ArmTestProcessor::create(processed_cli_options)),
|
||||
| "aarch64_be-unknown-linux-gnu" => {
|
||||
Some(ArmArchitectureTest::create(processed_cli_options))
|
||||
}
|
||||
|
||||
_ => None,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue