Nemeski@mander.xyz to Rust@programming.dev · 11 days agoFaster linking times with 1.90.0 stable on Linux using the LLD linkerblog.rust-lang.orgexternal-linkmessage-square4linkfedilinkarrow-up160arrow-down10
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 · 11 days agomessage-square4linkfedilink
minus-squareStarfighter@discuss.tchncs.delinkfedilinkarrow-up15·edit-211 days 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·11 days agoI didn’t know you can change the linker in Rust projects manually.
minus-squareStarfighter@discuss.tchncs.delinkfedilinkarrow-up5·11 days 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