Skip to content

Commit f6238fc

Browse files
committed
Keep codegen-units = 1 for CI fuzzing
.. which marginally (~2%) increases the runtime while decreasing the disk usage.
1 parent f0ec19d commit f6238fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fuzz/ci-fuzz.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ cargo clean
2222
popd
2323

2424
cargo install --color always --force honggfuzz --no-default-features
25+
2526
# Because we're fuzzing relatively few iterations, the maximum possible
26-
# compiler optimizations aren't necessary, so switch to defaults.
27+
# compiler optimizations aren't necessary, so we turn off LTO
2728
sed -i 's/lto = true//' Cargo.toml
28-
sed -i 's/codegen-units = 1//' Cargo.toml
2929

3030
export HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz"
3131

0 commit comments

Comments
 (0)