diff --git a/src/project.rs b/src/project.rs index d9f32a4..7847e28 100644 --- a/src/project.rs +++ b/src/project.rs @@ -175,7 +175,7 @@ impl FuzzProject { rustflags.push_str(" -Cllvm-args=-sanitizer-coverage-trace-compares"); } - if build.disable_branch_folding.is_some_and(|v| v) { + if build.disable_branch_folding.unwrap_or(true) { rustflags.push_str(" -Cllvm-args=-simplifycfg-branch-fold-threshold=0"); }