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-square4fedilinkarrow-up158arrow-down10
arrow-up158arrow-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-square4fedilink
minus-squareStarfighter@discuss.tchncs.delinkfedilinkarrow-up14·edit-26 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-squareStarfighter@discuss.tchncs.delinkfedilinkarrow-up5·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