Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mir-opt*-level*, not mir-opt
  • Loading branch information
langston-barrett committed Mar 16, 2023
commit b941d220bc9ecbb49dc24a275b995a486913b1ae
4 changes: 2 additions & 2 deletions src/fuzzing.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ these tools, post both the complete and minimized test cases. Generally,
When fuzzing rustc, you may want to avoid generating code, since this is mostly
done by LLVM. Try `--emit=mir` instead.

A variety of compiler flags can uncover different issues. `-Zmir-opt=4` will
turn on MIR optimization passes that are not run by default, potentially
A variety of compiler flags can uncover different issues. `-Zmir-opt-level=4`
will turn on MIR optimization passes that are not run by default, potentially
uncovering interesting bugs.

If you're fuzzing a compiler you built, you may want to build it with `-C
Expand Down