Nemeski@mander.xyz to Rust@programming.dev · 6 months agoFaster linking times with 1.90.0 stable on Linux using the LLD linkerblog.rust-lang.orgexternal-linkmessage-square4linkfedilinkarrow-up160arrow-down10cross-posted to: rust@lemmit.onlinelobsters@lemmy.bestiver.se
arrow-up160arrow-down1external-linkFaster linking times with 1.90.0 stable on Linux using the LLD linkerblog.rust-lang.orgNemeski@mander.xyz to Rust@programming.dev · 6 months agomessage-square4linkfedilinkcross-posted to: rust@lemmit.onlinelobsters@lemmy.bestiver.se
minus-squareStarfighterlinkfedilinkarrow-up15·6 months agoGood 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.
minus-squarethingsiplay@beehaw.orglinkfedilinkarrow-up3·6 months agoI didn’t know you can change the linker in Rust projects manually.
minus-squareStarfighterlinkfedilinkarrow-up6·6 months agoThere are even little interactive tools for it like: cargo-wizard
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.
I didn’t know you can change the linker in Rust projects manually.
There are even little interactive tools for it like: cargo-wizard