Pre-build fuzz targets at once in travis instead of as we need them
[rust-lightning] / 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%.*}"