about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-09-14 00:46:45 +0800
committerkennytm <kennytm@gmail.com>2018-09-14 00:46:45 +0800
commit07dc4b3759f3cc0e97777fe944dbc54c967424fd (patch)
tree6e7af197d9d820a1bc16f45ae3764d6bc6b4b5e8 /src/test/incremental/thinlto
parent5db68bae9a2841fff806bf0d2e5f24b7d4bad164 (diff)
parent24093a6bdb33319bed76b3bc8d3f2efda63967c2 (diff)
downloadrust-07dc4b3759f3cc0e97777fe944dbc54c967424fd.tar.gz
rust-07dc4b3759f3cc0e97777fe944dbc54c967424fd.zip
Rollup merge of #53950 - michaelwoerister:more-lto-cli, r=alexcrichton
Allow for opting out of ThinLTO and clean up LTO related cli flag handling.

It turns out that there currently is no way to explicitly disable ThinLTO (except for the nightly-only `-Zthinlto` flag). This PR extends `-C lto` to take `yes` and `no` in addition to `thin` and `fat`. It should be backwards compatible.

It also cleans up how LTO mode selection is handled.

Note that merging the PR in the current state would make the new values for `-C lto` available on the stable channel. I think that would be fine but maybe some team should vote on it.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions