Pre-build fuzz targets at once in travis instead of as we need them
authorMatt Corallo <git@bluematt.me>
Wed, 11 Dec 2019 23:17:03 +0000 (18:17 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 11 Dec 2019 23:17:54 +0000 (18:17 -0500)
fuzz/travis-fuzz.sh

index 2c281d932c67d65d4db13c53de40e15a3328b285..5ec431d7ef1818ffccde8700fb23142bb9345a9e 100755 (executable)
@@ -13,6 +13,7 @@ rm *_target.rs
 popd
 
 cargo install --force honggfuzz
+HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" cargo hfuzz build
 for TARGET in src/bin/*.rs; do
        FILENAME=$(basename $TARGET)
        FILE="${FILENAME%.*}"