From 83cb30bd1430bad9878b5f643f02622064b12ded Mon Sep 17 00:00:00 2001 From: Dan Blackwell Date: Tue, 6 Aug 2024 22:06:11 +0100 Subject: [PATCH] Set disable_branch_folding to default true --- src/project.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }