• Sources: primary, discussion
  • Summary: The v3.0.0 release notes state that mold is now written in Rust and is intended as a drop-in replacement for 2.42.1, the last C++ release, with the same options, targets and link performance, verified by building all Gentoo packages with no regressions. Building from source now goes through Cargo and requires Rust 1.95 or later, the CMake options are gone, oneTBB is no longer a dependency, and MOLD_LIBDIR must be set when libraries are installed outside $PREFIX/lib so that mold -run can find mold-wrapper.so. Corrupted input now stops at a bounds-checked panic instead of reading out of bounds, and the notes state the goals of closing GNU ld linker-script gaps and becoming a distribution default linker.
  • Why it matters: Anyone who builds mold from source loses the CMake path this release, because the build moves to Cargo and requires a Rust toolchain of 1.95 or later.