From 2f55ff1408e330ccb52b883552c18264b602c7ef Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Tue, 16 Jan 2024 05:29:57 -0500 Subject: [PATCH] Address Clippy warning --- cargo-afl/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cargo-afl/src/main.rs b/cargo-afl/src/main.rs index a13053731..5d605bdca 100644 --- a/cargo-afl/src/main.rs +++ b/cargo-afl/src/main.rs @@ -241,12 +241,12 @@ where let binding = common::afl_llvm_dir(); let p = binding.display(); - let mut rustflags = format!( + let mut rustflags = String::from( "-C debug-assertions \ -C overflow_checks \ -C codegen-units=1 \ -C opt-level=3 \ - -C target-cpu=native " + -C target-cpu=native ", ); let mut environment_variables = HashMap::<&str, String>::new(); environment_variables.insert("ASAN_OPTIONS", asan_options);