]> git.lizzy.rs Git - rust.git/blob - src/doc/unstable-book/src/compiler-flags/unsound-mir-opts.md
Rollup merge of #85663 - fee1-dead:document-arc-from, r=m-ou-se
[rust.git] / src / doc / unstable-book / src / compiler-flags / unsound-mir-opts.md
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