According to the readme, Rust is supported, did anyone tried and noticed improvement? rui314/mold: Mold: A Modern Linker 🦠 https://github.com/rui314/mold
According to the readme, Rust is supported, did anyone tried and noticed improvement? rui314/mold: Mold: A Modern Linker 🦠 https://github.com/rui314/mold
codegen-units=1
,debug=true
, varyinglto
lto = "fat"
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
lto = "thin"
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
lto = false
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
lto = "off"
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
codegen-units=8
,debug=true
, varyinglto
lto = "fat"
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
lto = "thin"
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
lto = false
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
lto = "off"
["-Z", "gcc-ld=lld"]
linker = "clang"
linker = "clang"; fuse-ld="mold"
mold
appears to be similar but not faster thanlld
.With the caveat that this is not a proper benchmark since:
And a side note,
lto = false
appears to be practically useless.