We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo fuzz list
I have a project with the following structure:
project $ tree -I target -I artifacts -I corpus . ├── Cargo.lock ├── Cargo.toml ├── fuzz │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ └── bin │ ├── fuzz_test_1.rs │ └──fuzz_test_2.rs └── src └── lib.rs
where the fuzz_test_* files are placed in src/bin instead of the default fuzz_targets directory. Cargo can discover those targets automatically, as described in https://doc.rust-lang.org/cargo/reference/cargo-targets.html#target-auto-discovery.
fuzz_test_*
src/bin
fuzz_targets
cargo fuzz run fuzz_test_1 also works correctly.
cargo fuzz run fuzz_test_1
But when I run cargo fuzz list, the returned result is empty.
I have to manually add entries to fuzz/Cargo.toml to let cargo fuzz list discover it.
fuzz/Cargo.toml
[[bin]] name = "fuzz_test_1" [[bin]] name = "fuzz_test_2"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a project with the following structure:
where the
fuzz_test_*
files are placed insrc/bin
instead of the defaultfuzz_targets
directory. Cargo can discover those targets automatically, as described in https://doc.rust-lang.org/cargo/reference/cargo-targets.html#target-auto-discovery.cargo fuzz run fuzz_test_1
also works correctly.But when I run
cargo fuzz list
, the returned result is empty.I have to manually add entries to
fuzz/Cargo.toml
to letcargo fuzz list
discover it.The text was updated successfully, but these errors were encountered: