Skip to content

Commit

Permalink
More Clippy (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenukk authored Jul 10, 2024
1 parent 721fd3b commit 977a597
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libafl_qemu/libafl_qemu_build/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ fn configure_qemu(
.env("__LIBAFL_QEMU_BUILD_OUT", build_dir.join("linkinfo.json"))
.env("__LIBAFL_QEMU_BUILD_CC", cc_compiler.path())
.env("__LIBAFL_QEMU_BUILD_CXX", cpp_compiler.path())
.arg(&format!("--cc={}", linker_interceptor.display()))
.arg(&format!("--cxx={}", linker_interceptor_plus_plus.display()))
.arg(format!("--cc={}", linker_interceptor.display()))
.arg(format!("--cxx={}", linker_interceptor_plus_plus.display()))
.arg("--as-shared-lib")
.arg(&format!("--target-list={cpu_target}-{target_suffix}"))
.arg(format!("--target-list={cpu_target}-{target_suffix}"))
// .arg("--disable-capstone")
.arg("--disable-bsd-user");

Expand Down Expand Up @@ -237,7 +237,7 @@ fn build_qemu(
.arg("-j");

if let Some(j) = jobs {
cmd.arg(&format!("{j}")).env("V", "1");
cmd.arg(format!("{j}")).env("V", "1");
}

cmd
Expand Down

0 comments on commit 977a597

Please sign in to comment.