Skip to content

Commit f1fa439

Browse files
code cleanup
1 parent 420f2ee commit f1fa439

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

crates/intrinsic-test/src/arm/functions.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ use crate::common::intrinsic_types::IntrinsicTypeDefinition;
1111
use crate::common::write_file;
1212
use itertools::Itertools;
1313
use rayon::prelude::*;
14-
use std::collections::BTreeMap;
1514

1615
// The number of times each intrinsic will be called.
1716
const PASSES: u32 = 20;
@@ -162,7 +161,6 @@ fn generate_rust_program_arm(
162161

163162
fn compile_c_arm(
164163
intrinsics_name_list: &Vec<String>,
165-
_filename_mapping: BTreeMap<&String, String>,
166164
compiler: &str,
167165
target: &str,
168166
cxx_toolchain_dir: Option<&str>,
@@ -237,13 +235,7 @@ pub fn build_c(
237235

238236
match compiler {
239237
None => true,
240-
Some(compiler) => compile_c_arm(
241-
&intrinsics_name_list,
242-
filename_mapping,
243-
compiler,
244-
target,
245-
cxx_toolchain_dir,
246-
),
238+
Some(compiler) => compile_c_arm(&intrinsics_name_list, compiler, target, cxx_toolchain_dir),
247239
}
248240
}
249241

0 commit comments

Comments
 (0)