Skip to content

Commit

Permalink
Correct the format
Browse files Browse the repository at this point in the history
  • Loading branch information
SparrowLii committed Mar 16, 2021
1 parent 8d094ca commit 2f2d945
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions crates/stdarch-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,9 @@ fn gen_aarch64(
#[cfg_attr(test, assert_instr({}))]
{}
"#,
current_comment, expand_intrinsic(&current_aarch64, in_t), call
current_comment,
expand_intrinsic(&current_aarch64, in_t),
call
);

let test = gen_test(
Expand Down Expand Up @@ -1190,7 +1192,7 @@ mod test {
tests_aarch64.push('}');
tests_aarch64.push('\n');

let arm_out_path: PathBuf = PathBuf::from("./crates/core_arch")
let arm_out_path: PathBuf = PathBuf::from(env::var("OUT_DIR").unwrap())
.join("src")
.join("arm")
.join("neon");
Expand All @@ -1200,8 +1202,7 @@ mod test {
file_arm.write_all(out_arm.as_bytes())?;
file_arm.write_all(tests_arm.as_bytes())?;

//let aarch64_out_path: PathBuf = PathBuf::from(env::var("OUT_DIR").unwrap())
let aarch64_out_path: PathBuf = PathBuf::from("./crates/core_arch")
let aarch64_out_path: PathBuf = PathBuf::from(env::var("OUT_DIR").unwrap())
.join("src")
.join("aarch64")
.join("neon");
Expand Down

0 comments on commit 2f2d945

Please sign in to comment.