diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2016-03-09 22:46:00 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-03-17 21:51:55 +0200 |
| commit | 835e2bdf7d370ec5f3a7777c7273d48be0bf5c56 (patch) | |
| tree | 995f42f13a54784f600eb34437e2cc60aefe794a /src/libsyntax | |
| parent | 856185dbb2f4a57dc865c6dc3c856268c7efa79a (diff) | |
| download | rust-835e2bdf7d370ec5f3a7777c7273d48be0bf5c56.tar.gz rust-835e2bdf7d370ec5f3a7777c7273d48be0bf5c56.zip | |
Add -Z orbit for forcing MIR for everything, unless #[rustc_no_mir] is used.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index fbaf28332c4..a017e62d546 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -350,10 +350,14 @@ pub const KNOWN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeGat "the `#[rustc_move_fragments]` attribute \ is just used for rustc unit tests \ and will never be stable")), - ("rustc_mir", Normal, Gated("rustc_attrs", - "the `#[rustc_mir]` attribute \ - is just used for rustc unit tests \ - and will never be stable")), + ("rustc_mir", Whitelisted, Gated("rustc_attrs", + "the `#[rustc_mir]` attribute \ + is just used for rustc unit tests \ + and will never be stable")), + ("rustc_no_mir", Whitelisted, Gated("rustc_attrs", + "the `#[rustc_no_mir]` attribute \ + is just used to make tests pass \ + and will never be stable")), ("allow_internal_unstable", Normal, Gated("allow_internal_unstable", EXPLAIN_ALLOW_INTERNAL_UNSTABLE)), |
