Skip to content

Commit 63bb51d

Browse files
authored
Add unstable book docs for -Zunsound-mir-opts
1 parent fc2daaa commit 63bb51d

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)