Wild beats mold linking Rust 20 times out of 20, and in release the linker is no longer the bottleneck
I measured Wild 0.10.0, mold 2.42.1, rust-lld and GNU ld linking ripgrep and cargo. Wild won all 20 repetitions of each project, by 1.9 ms and about 8 ms . With either fast linker, the link is close to 1% of the rebuild — it stops being the bottleneck. On the way I almost published false numbers; the post shows the trap and how I caught it. Read the full measurements →…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.