Skip to content

Commit

Permalink
Force fuzzing with 1 codegen unit
Browse files Browse the repository at this point in the history
This is a workaround for an LLVM 8 codegen issue. See
rust-lang/rust#53945 for more information.
  • Loading branch information
garyttierney committed Jan 3, 2019
1 parent 741460f commit 71a468f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ script:
- |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
pushd secsp_fuzzer/
export RUSTFLAGS='-C codegen-units=1'
cargo install afl
cargo afl build
timeout 10m cargo afl fuzz -i ../examples -o out target/debug/secsp-fuzzer > /dev/null || true
Expand Down

0 comments on commit 71a468f

Please sign in to comment.