Skip to content

Commit 71a468f

Browse files
committed
Force fuzzing with 1 codegen unit
This is a workaround for an LLVM 8 codegen issue. See rust-lang/rust#53945 for more information.
1 parent 741460f commit 71a468f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ script:
2323
- |
2424
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
2525
pushd secsp_fuzzer/
26+
export RUSTFLAGS='-C codegen-units=1'
2627
cargo install afl
2728
cargo afl build
2829
timeout 10m cargo afl fuzz -i ../examples -o out target/debug/secsp-fuzzer > /dev/null || true

0 commit comments

Comments
 (0)