Skip to content

Commit d09a940

Browse files
langston-barrettcompiler-errors
authored andcommitted
mir-opt*-level*, not mir-opt
1 parent 5de7dd6 commit d09a940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fuzzing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ these tools, post both the complete and minimized test cases. Generally,
110110
When fuzzing rustc, you may want to avoid generating code, since this is mostly
111111
done by LLVM. Try `--emit=mir` instead.
112112

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

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

0 commit comments

Comments
 (0)