Skip to content

Commit

Permalink
Merge pull request #37 from the-shank/master
Browse files Browse the repository at this point in the history
Update guide.md (fix typo in fuzzing_repro section)
  • Loading branch information
fitzgen committed Nov 13, 2023
2 parents 8eaa841 + 0cc9c22 commit 8a6efe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo-fuzz/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Every crate instrumented for fuzzing -- the `fuzz_targets` crate, the project cr

## `#[cfg(fuzzing_repro)]`

When you run `cargo fuzz <fuzz target name> <crash file>`, every crate is compiled with the `--cfg fuzzing_repro` rustc option. This allows you to leave debugging statements in your fuzz targets behind a `#[cfg(fuzzing_repro)]`:
When you run `cargo fuzz run <fuzz target name> <crash file>`, every crate is compiled with the `--cfg fuzzing_repro` rustc option. This allows you to leave debugging statements in your fuzz targets behind a `#[cfg(fuzzing_repro)]`:

```rust
#[cfg(fuzzing_repro)]
Expand Down

0 comments on commit 8a6efe4

Please sign in to comment.