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-24 14:57:34 -0700
committerGitHub <noreply@github.com>2016-08-24 14:57:34 -0700
commite9bc1bac8c7664fb1b487879b3fbd56221f6a721 (patch)
tree2a0739eb6851ceb45abcc38d7fe8d8ff18e71962 /src/rustllvm/RustWrapper.cpp
parent03e23c7f9a10b18e1687bfd92c6807e9342aa00b (diff)
parent25cf8001b1352fdaccdd1d71071c941f99acc2a1 (diff)
downloadrust-e9bc1bac8c7664fb1b487879b3fbd56221f6a721.tar.gz
rust-e9bc1bac8c7664fb1b487879b3fbd56221f6a721.zip
Auto merge of #35764 - eddyb:byegone, r=nikomatsakis
Remove the old AST-based backend from rustc_trans.

Starting with Rust 1.13, `--disable-orbit` , `-Z orbit=off` and `#[rustc_no_mir]` have been removed.
Only the new MIR backend is left in the compiler, and only early const_eval uses ASTs from other crates.

Filling drop (previously "zeroing drop"), `#[unsafe_no_drop_flag]` and associated unstable APIs are gone.
Implementing `Drop` doesn't add a flag anymore to the type, all of the dynamic drop is function local.
This is a [breaking-change], please use `Option::None` and/or `mem::forget` if you are unsure about your ability to prevent/control the drop of a value. In the future, `union` will be usable in some such cases.

**NOTE**: DO NOT MERGE before we get the new beta as the stage0, there's some cruft to remove.

All of this will massively simplify any efforts to implement (and as such it blocks) features such as `union`s, safe use of `#[packed]` or new type layout optimizations, not to mention many other experiments.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions