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.
This commit is contained in:
commit
b85081d46a
|
@ -0,0 +1,8 @@
|
||||||
|
# `unsound-mir-opts`
|
||||||
|
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
The `-Zunsound-mir-opts` compiler flag enables [MIR optimization passes] which can cause unsound behavior.
|
||||||
|
This flag should only be used by MIR optimization tests in the rustc test suite.
|
||||||
|
|
||||||
|
[MIR optimization passes]: https://rustc-dev-guide.rust-lang.org/mir/optimizations.html
|
Loading…
Reference in New Issue