Skip to content

Commit

Permalink
Update guide.md (fix typo in fuzzing_repro section)
Browse files Browse the repository at this point in the history
This commit fixes the command indicated in the fuzzing_repro section.
  • Loading branch information
the-shank authored Nov 9, 2023
1 parent 8eaa841 commit 0cc9c22
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 0cc9c22

Please sign in to comment.