Closed Bug 1535177 Opened 5 years ago Closed 5 years ago

Windows builds spend a lot of time waiting for link.exe

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1524396

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.

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.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.