Skip lto on travis when building fuzz targets as it takes 30 min 2020-02-no-lto-travis-fuzz
authorMatt Corallo <git@bluematt.me>
Fri, 21 Feb 2020 01:02:26 +0000 (20:02 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 21 Feb 2020 01:02:26 +0000 (20:02 -0500)
fuzz/travis-fuzz.sh

index 5ec431d7ef1818ffccde8700fb23142bb9345a9e..57e326472886e654af93503c88b5611f7a9e2e2a 100755 (executable)
@@ -13,6 +13,7 @@ rm *_target.rs
 popd
 
 cargo install --force honggfuzz
+sed -i 's/lto = true//' Cargo.toml
 HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" cargo hfuzz build
 for TARGET in src/bin/*.rs; do
        FILENAME=$(basename $TARGET)