Conversation
Results in noticeably faster linking
|
There was almost no difference for me but no objections to enabling it. Looks like it'll become the default soon: https://blog.rust-lang.org/2025/09/01/rust-lld-on-1.90.0-stable/ Curious if you're building on Windows natively? I think you used to build in WSL: #4142 (comment) |
|
Yeah, I have been building natively on Windows for a few months now as it allows me to build wheels for my fork (https://github.com/user1823/anki/tree/my_feature_branch) for regular use.
In my case, the first build wasn't faster because it had to recompile all crates and their dependencies from scratch. However, subsequent builds after making small changes in rslib were noticeably faster as I mentioned in my OP. |
Results in noticeably faster linking
This slashed build time for RELEASE=2 by nearly half on my system. (~750 seconds → ~420 seconds)