Perform ThinLTO on x86_64-pc-windows-msvc dist builder - #128947
Conversation
|
FYI @rust-lang/infra |
|
☔ The latest upstream changes (presumably #130506) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@rustbot ready This is no longer blocked, at least not on my previous PR. Are the binaries built by dist jobs properly tested now? |
|
They are tested, not sure if properly :) Last time we tried it, one test was still miscompiled, we could try again.
|
EDIT: x86_64-pc-windows-msvc goes through opt-dist but not the other i686-pc-windows-msvc apparently. Recently we broke i686-pc-windows-gnu rustc binaries in a way that caused rustc binary to completely not work (rustc -vV failed) but no tests caught it. |
We do test dist x64 msvc artifacts in opt-dist. |
|
Huh. I must be thinking of x86_64 windows-gnu or maybe the 32 bit windows-msvc target? EDIT: in any case you're right: https://github.com/rust-lang/rust/blob/master/src%2Fci%2Fgithub-actions%2Fjobs.yml#L584 |
|
@bors try |
Perform ThinLTO on x86_64-pc-windows-msvc dist builder This reenables ThinLTO on x86_64-pc-windows-msvc. Depends on rust-lang#122790 try-job: dist-x86_64-msvc
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
|
@bors try |
|
@bors retry |
|
@bors p=6 |
This comment has been minimized.
This comment has been minimized.
Perform ThinLTO on x86_64-pc-windows-msvc dist builder This reenables ThinLTO on x86_64-pc-windows-msvc.
This comment has been minimized.
This comment has been minimized.
|
💔 Test for d031dae failed: CI. Failed job:
|
|
^ Real failure |
|
@bors try |
This comment has been minimized.
This comment has been minimized.
Perform ThinLTO on x86_64-pc-windows-msvc dist builder try-job: dist-x86_64-apple
|
@bors try jobs=dist-x86_64-linux @rust-timer queue @bjorn3 Is it OK to also pass LTO flags when building proc macros? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Perform ThinLTO on x86_64-pc-windows-msvc dist builder try-job: dist-x86_64-linux
We do pass this flag for rustc already, so presumedly it works. I don't think Cargo has a way to avoid flags for proc macros / build scripts, as LTO is likely overkill for them. |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (f8b60f9): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.4%, secondary 0.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary -0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.0%, secondary -0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 460.09s -> 462.329s (0.49%) |
View all comments
This reenables ThinLTO on x86_64-pc-windows-msvc.
try-job: dist-x86_64-apple