mir-opt*-level*, not mir-opt

This commit is contained in:
Langston Barrett 2023-03-16 11:13:36 -04:00 committed by Michael Goulet
parent 5de7dd6e4f
commit d09a940816
1 changed files with 2 additions and 2 deletions

View File

@ -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 When fuzzing rustc, you may want to avoid generating code, since this is mostly
done by LLVM. Try `--emit=mir` instead. done by LLVM. Try `--emit=mir` instead.
A variety of compiler flags can uncover different issues. `-Zmir-opt=4` will A variety of compiler flags can uncover different issues. `-Zmir-opt-level=4`
turn on MIR optimization passes that are not run by default, potentially will turn on MIR optimization passes that are not run by default, potentially
uncovering interesting bugs. uncovering interesting bugs.
If you're fuzzing a compiler you built, you may want to build it with `-C If you're fuzzing a compiler you built, you may want to build it with `-C