The high-speed linker mold 3.0.0 is the first release rewritten from C++ in Rust. Its developers say it supports the same command-line options and target architectures as 2.42.1, offers comparable speed, and showed no regressions in tests of supported targets or Gentoo package builds. Building from source now uses Cargo instead of CMake and requires Rust 1.95 or later and a C compiler. Bounds checks guard against out-of-bounds access caused by malformed input, but do not eliminate the possibility of the program terminating. Full GNU ld compatibility and adoption as the default linker by distributions, both listed in the previous release’s roadmap, remain goals for the 3.x series.
Back to Tech
mold 3.0 arrives with a Rust rewrite and a switch to Cargo builds
The release is designed to preserve existing options and speed, but environments that build it from source need a different toolchain.