Windows builds spend a lot of time waiting for link.exe
Categories
(Firefox Build System :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: away, Unassigned)
References
Details
I made my Windows builds 20% faster by overwriting my link.exe with lld-link.exe (15:39 -> 12:51). This is pretty ridiculous given that link.exe isn't even supported for Firefox anymore.
Towards the end of the build, stylo is the long pole, and it depends on style_derive-(hash).dll, which has a lengthy link using link.exe. In the time that we wait on this link, no other build tasks are running, so it's quite a waste.
glandium says bug 1524396 would fix the linker selection, but there is not much in its sparse description to make that clear to a passing reader, so I am filing this separately.
Comment 1•5 years ago
|
||
Because Windows doesn't actually pass a linker to cargo in all cases. Which is why cargo uses link.exe. Unifying how windows and non-windows pass the linker is also about being consistent.
Description
•