]> git.lizzy.rs Git - rust.git/commit
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)
commit34d14e7eed48c755a660224266e2c86669cf5483
treea9bd8a5c322a9299f7b3f4da0496e8933cb548d6
parent19765f2ab18ebb79f8615951b7cb8b86d896ecda
parentb583711ff965db3b113ad6f468f32ad6ec1330a3
Auto merge of #34096 - eddyb:launch, r=nikomatsakis

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