Skip to content

Commit

Permalink
Add unstable book docs for -Zunsound-mir-opts
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleywiser authored Sep 29, 2020
1 parent fc2daaa commit 63bb51d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/doc/unstable-book/src/compiler-flags/unsound-mir-opts.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 63bb51d

Please sign in to comment.