]> git.lizzy.rs Git - rust.git/commit
Auto merge of #103591 - lqd:win-lto, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Sun, 11 Dec 2022 17:37:12 +0000 (17:37 +0000)
committerbors <bors@rust-lang.org>
Sun, 11 Dec 2022 17:37:12 +0000 (17:37 +0000)
commit657eefe2dcf18f76ac67a39945810128e101178c
tree512f01e09d120ede3fd311bef30ce60ba6a90000
parentd137783642b0b98eda2796dc66bffc2b089a8327
parent684663ed380d0e6a6e135aed9c6055ab4ba94ac8
Auto merge of #103591 - lqd:win-lto, r=Mark-Simulacrum

Enable ThinLTO for rustc on x64 msvc

This applies the great work from `@bjorn3` and `@Kobzol` in https://github.com/rust-lang/rust/pull/101403 to x64 msvc.

Here are the local results for the try build `68c5c85ed759334a11f0b0e586f5032a23f85ce4`, compared to its parent `0a6b941df354c59b546ec4c0d27f2b9b0cb1162c`. Looking better than my previous local builds.

![image](https://user-images.githubusercontent.com/247183/198158039-98ebac0e-da0e-462e-8162-95e88345edb9.png)

(I can't show cycle counts, as that option is failing on the windows version of the perf collector, but I'll try to analyze and debug this soon)

This will be the first of a few tests for rustc / llvm / both ThinLTO on the windows and mac targets.
.github/workflows/ci.yml
src/ci/github-actions/ci.yml