diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index be1ea6d8..0de9c3e1 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -30,7 +30,7 @@ jobs: toolchain: 1.58 override: true profile: minimal - - run: cargo install honggfuzz + - run: cargo install honggfuzz --no-default-features if: steps.cache-fuzz.outputs.cache-hit != 'true' - run: echo "HFUZZ_RUN_ARGS=\"--run_time 30 --exit_upon_crash -v -f hfuzz_input/${{ matrix.fuzz_target }}/input\"" >> $GITHUB_ENV - name: fuzz diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index b893483b..927a3b37 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -12,7 +12,7 @@ afl_fuzz = ["afl"] honggfuzz_fuzz = ["honggfuzz"] [dependencies] -honggfuzz = { version = "0.5", optional = true } +honggfuzz = { version = "0.5", optional = true, default-features = false } afl = { version = "0.4", optional = true } bitcoin = { path = ".." } diff --git a/fuzz/travis-fuzz.sh b/fuzz/travis-fuzz.sh index 8f699815..662472c0 100755 --- a/fuzz/travis-fuzz.sh +++ b/fuzz/travis-fuzz.sh @@ -9,7 +9,7 @@ if [ ${incorrectFilenames} -gt 0 ]; then fi # Testing -cargo install --force honggfuzz +cargo install --force honggfuzz --no-default-features for TARGET in fuzz_targets/*; do FILENAME=$(basename $TARGET) FILE="${FILENAME%.*}"