Skip to content

Commit

Permalink
Merge pull request #83 from altaua/mira/build-args
Browse files Browse the repository at this point in the history
fix(build): fix hfuzz_build_args parsing
  • Loading branch information
PaulGrandperrin committed May 21, 2024
2 parents 6b3bb2d + b7d4d99 commit 63ea011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/cargo-hfuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ where
else if *build_type != BuildType::Debug {
// ensure we do not set --release when one of the build args
// contains a --profile
if !hfuzz_build_args.any(|f| &f[..9] == "--profile") {
if !hfuzz_build_args.any(|f| f.starts_with("--profile")) {
command.arg("--release");
}

Expand Down

0 comments on commit 63ea011

Please sign in to comment.