]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #34096 - eddyb:launch, r=nikomatsakis
authorbors <bors@rust-lang.org>
Tue, 2 Aug 2016 06:42:48 +0000 (23:42 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Aug 2016 06:42:48 +0000 (23:42 -0700)
Switch to MIR-based translation by default.

This patch makes `-Z orbit` default to "on", which means that by default, functions will be translated from Rust to LLVM IR through the upcoming MIR backend, instead of the antiquated AST backend.

This switch is made possible by the recently merged #33622, #33905 and smaller fixes.

If you experience any issues, please file a report for each of them. You can switch to the old backend to work around problems by either setting `RUSTFLAGS="-Zorbit=off"` or by annotating specific functions with `#[rustc_no_mir]` (which requires `#![feature(rustc_attrs)]` at the crate-level).

I would like this PR to get into nightly soon so that we can get early feedback in this release cycle and focus on correctness fixes and performance improvements, with the potential for removing the old backend implementation before beta branches off.

cc @rust-lang/compiler


Trivial merge