mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
Add unstable book docs for -Zunsound-mir-opts
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user