docs.rs failed to build test-fuzz-0.1.0-alpha.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
test-fuzz-5.0.0
test-fuzz
Setup
- Build the
cargo-test-fuzz
binary and add it to yourPATH
:
$ cd path/to/test-fuzz
$ cargo build
$ source env.sh
- Add the following
dependencies
to your crate'sCargo.toml
file:
= "1.0"
= { = "path/to/test-fuzz" }
- Add the following
use
declaration to a file or module containing potential fuzz targets:
use test_fuzz;
Usage
- Find a fuzz target and precede it with the
test_fuzz
attribute:
- Generate a corpus by runnig
cargo test
:
$ cargo test
- Fuzz your target by runnig
cargo test-fuzz
:
$ cargo test-fuzz --target foo