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

`cargo fuzz add` should imply `cargo fuzz init` #325

Open jyn514 opened 1 year ago

jyn514 commented 1 year ago

Here's what happens today if you run cargo fuzz add my-fuzzer in a new project:

; cargo fuzz add decompressor
Error: could not read the manifest file: /home/jnelson/work/redacted/fuzz/Cargo.toml

Caused by:
    No such file or directory (os error 2)

The workaround is to run cargo fuzz init first, but it would be nice if cargo fuzz add did that automatically.