diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-09-30 20:56:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-30 20:56:14 +0200 |
| commit | b85081d46ac2cbfa6862487024fa3323ef95a0e3 (patch) | |
| tree | b1d7e0e82765da34cead7999cec42129b1932b95 | |
| parent | d4add198be2c7cc8285673ca724b330067fa2f57 (diff) | |
| parent | 63bb51d3ac3ec015d914e2b0792b4d5aa6e8e4a5 (diff) | |
| download | rust-b85081d46ac2cbfa6862487024fa3323ef95a0e3.tar.gz rust-b85081d46ac2cbfa6862487024fa3323ef95a0e3.zip | |
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.
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/unsound-mir-opts.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/unsound-mir-opts.md b/src/doc/unstable-book/src/compiler-flags/unsound-mir-opts.md new file mode 100644 index 00000000000..8e46e227c25 --- /dev/null +++ b/src/doc/unstable-book/src/compiler-flags/unsound-mir-opts.md @@ -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 |
