Bug fix for fuzzing without default features

This commit is contained in:
Chris Hennick 2024-03-04 11:48:37 -08:00
parent 3e82e21614
commit e49577a151
2 changed files with 7 additions and 2 deletions

View file

@ -125,7 +125,7 @@ jobs:
- name: run fuzz
timeout-minutes: 330
run: |
cargo fuzz run fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz.dict
cargo fuzz run --no-default-features fuzz_read -- -timeout=10s -jobs=100 -workers=2 -runs=1000000 -max_len=5000000000 -dict=fuzz/fuzz.dict
- name: Upload any failure inputs
if: always()
uses: actions/upload-artifact@v3
@ -179,7 +179,7 @@ jobs:
- name: run fuzz
timeout-minutes: 330
run: |
cargo fuzz run fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=10000 -max_len=5000000000 -dict=fuzz/fuzz.dict
cargo fuzz run --no-default-features fuzz_write -- -timeout=10s -jobs=100 -workers=2 -runs=10000 -max_len=5000000000 -dict=fuzz/fuzz.dict
- name: Upload any failure inputs
if: always()
uses: actions/upload-artifact@v3

View file

@ -14,6 +14,11 @@ arbitrary = { version = "1.3.0", features = ["derive"] }
[dependencies.zip_next]
path = ".."
default-features = false
[features]
zip_next_defaults = ["zip_next/default"]
default = ["zip_next_defaults"]
# Prevent this from interfering with workspaces
[workspace]