Faster linking times with 1.90.0 stable on Linux using the LLD linker (blog.rust-lang.org)
from nemeski@mander.xyz to rust@programming.dev on 01 Sep 2025 20:48
https://mander.xyz/post/37127706

#rust

threaded - newest

Starfighter@discuss.tchncs.de on 01 Sep 2025 21:22 next collapse

Good move. Especially for incremental builds linking tends to take up quite a large percentage of the compile time.

I’ve mostly switched to mold for that reason but having a fast default linker is nice.

thingsiplay@beehaw.org on 02 Sep 2025 02:24 collapse

I didn’t know you can change the linker in Rust projects manually.

Starfighter@discuss.tchncs.de on 02 Sep 2025 09:23 collapse

There are even little interactive tools for it like: cargo-wizard

BB_C@programming.dev on 06 Sep 2025 10:22 collapse

Brother, some of us already moved from lld to mold to wild already. The project could have waited a little bit, then went with the implemented-in-rust option directly.