rust-fuzz / cargo-fuzz

Command line helpers for fuzzing
https://rust-fuzz.github.io/book/cargo-fuzz.html
Apache License 2.0
1.48k stars 108 forks source link

The `--features` flag cannot be used multiple times #342

Open madsmtm opened 1 year ago

madsmtm commented 1 year ago

Running the following fails, while it would succeed were I using a normal cargo run.

cargo +nightly fuzz run my_fuzz_target --features=foo --features=bar

I know I can just combine this into --features=foo,bar, but for composability it would be nice if cargo-fuzz didn't require me to do so.

fitzgen commented 1 year ago

Agreed that we should match cargo's behavior here. Would be receptive to a PR that implemented this.