Skip to content

Commit

Permalink
Set disable_branch_folding to default true
Browse files Browse the repository at this point in the history
  • Loading branch information
DanBlackwell committed Aug 6, 2024
1 parent 7990230 commit 83cb30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 83cb30b

Please # to comment.