Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4b03d9f

Browse files
langston-barrettcompiler-errors
authored andcommitted
mir-opt*-level*, not mir-opt
1 parent c40d443 commit 4b03d9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/rustc-dev-guide/src/fuzzing.md

Lines changed: 2 additions & 2 deletions
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)