rust/src/tools/compiletest
bors c88992d001 Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton
Add some groundwork for cross-language LTO.

Implements part of #49879:
- Adds a `-Z cross-lang-lto` flag to rustc
- Makes sure that bitcode is embedded in object files if the flag is set.

This should already allow for using cross language LTO for staticlibs (where one has to invoke the linker manually anyway). However, `rustc` will not try to enable LTO for its own linker invocations yet.

r? @alexcrichton
2018-05-07 08:41:07 +00:00
..
src Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton 2018-05-07 08:41:07 +00:00
Cargo.toml Misc tweaks 2018-05-05 20:36:46 +02:00