fuzz: disable features in honggfuzz

This commit is contained in:
Andrew Poelstra 2022-08-30 17:19:39 +00:00
parent c7910f4561
commit 0a32525862
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 = ".." }

View File

@ -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%.*}"