mold/2.41.0
mold is a faster drop-in replacement for existing Unix linkers. It is several times faster than the LLVM lld linker.
Readme
mold: A Modern Linker
mold is a faster drop-in replacement for existing Unix linkers. It is several times quicker than the LLVM lld linker, the second-fastest open-source linker. mold aims to enhance developer productivity by minimizing build time, particularly in rapid debug-edit-rebuild cycles.
You can configure Conan to download the latest version of mold and use it as the linker
when building your dependencies and projects from source. Currently only supported
when targeting Linux as the platform.
To use mold automatically as the linker, you can add the following section to your host profile that targets Linux. When using gcc, please note that the following flags require gcc 12.1 or greater.
[tool_requires]
*:mold/[*]
[conf]
tools.build:exelinkflags=['-fuse-ld=mold']
tools.build:sharedlinkflags=['-fuse-ld=mold']
Using mold
Loading usage information…
Packages
Dependencies
Loading dependencies…
🔍 Ready to secure your dependencies in seconds?
- Register for free at audit.conan.io/register.
- Save your token and activate it via the confirmation email you receive.
- Configure Conan to use your token:conan audit provider auth conancenter --token=<token>
- Scan for vulnerabilities:# Check a specific reference
conan audit list mold/2.41.0# Scan the entire dependency graph
conan audit scan --requires=mold/2.41.0
Note: For more details on the Conan Audit command, please read this post.
Tip: To avoid exposing your token in shell history, authenticate using an environment variable (e.g. CONAN_AUDIT_PROVIDER_TOKEN_CONANCENTER=<token>). For more info, see the documentation.