Skip to content

Commit b85081d

Browse files
Rollup merge of #77322 - rust-lang:wesleywiser-patch-1, r=steveklabnik
Add unstable book docs for `-Zunsound-mir-opts` The `-Zunsound-mir-opts` flag was added in #76899.
2 parents d4add19 + 63bb51d commit b85081d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# `unsound-mir-opts`
2+
3+
--------------------
4+
5+
The `-Zunsound-mir-opts` compiler flag enables [MIR optimization passes] which can cause unsound behavior.
6+
This flag should only be used by MIR optimization tests in the rustc test suite.
7+
8+
[MIR optimization passes]: https://rustc-dev-guide.rust-lang.org/mir/optimizations.html

0 commit comments

Comments
 (0)