about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-01 23:42:48 -0700
committerGitHub <noreply@github.com>2016-08-01 23:42:48 -0700
commit34d14e7eed48c755a660224266e2c86669cf5483 (patch)
treea9bd8a5c322a9299f7b3f4da0496e8933cb548d6 /src/rustllvm/RustWrapper.cpp
parent19765f2ab18ebb79f8615951b7cb8b86d896ecda (diff)
parentb583711ff965db3b113ad6f468f32ad6ec1330a3 (diff)
downloadrust-34d14e7eed48c755a660224266e2c86669cf5483.tar.gz
rust-34d14e7eed48c755a660224266e2c86669cf5483.zip
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions