mold is a faster drop-in replacement for existing Unix linkers. It is several times faster than the LLVM lld linker, the second-fastest open-source linker. mold is designed to increase developer productivity by reducing build time, especially in rapid debug-edit-rebuild cycles.
Questions tagged [mold]
5 questions
15
votes
3 answers
How to use the mold linker with cargo?
I'm using lld as my linker currently for Rust, but recently encountered the mold project, which is faster than lld. I'd like to try it for Rust compilation, but I'm not sure how to pass it in as my linker. In my .cargo/config file I've…

Marcus Buffett
- 1,289
- 1
- 14
- 32
4
votes
2 answers
how to use mold linker with bazel and gcc10?
mold is the latest modern linker with high speed, I want to use it to replace default ld linker when compiling our heavy c++ repository.
I use Bazel + GCC 10.2 to compile, and mold docs provide a gcc -B/mold/path solution. However I don't find a way…

very hit
- 326
- 3
- 9
1
vote
1 answer
How can I use mold linker in Github actions CICD?
I want to use mold instead of lld on github actions ci/cd and I don't know how to make it work as my tests are failing because they cannot locate the mold binary.
jobs:
build-mold:
runs-on: ubuntu-latest
steps:
- uses:…

RequireKeys
- 466
- 4
- 15
0
votes
0 answers
How can I place my variable into a specific section using lld or mold linker?
A.ld
SECTIONS
{
.rel.rodata.func_reg : {
PROVIDE(func_reg_start = .);
*(.func_reg.aaa.*)
PROVIDE(func_reg_end = .);
...
}
}
INSERT AFTER .text;
A.hpp
typedef bool (*func_type)();
#define ADD_FUNC(idx, func)…

JSK
- 45
- 5
0
votes
0 answers
What is the best way to export a Blender Nurbs object to Rhino or Solidworks for mold production?
My question would be to model in blender and send the object to rhino or solidworks, for mold production.
Would this be possible in nurbs?
thank you for any help,
thanks
Edward
When I export from Blender (.obj) to Rhino and export in (.xt) to…

19hertzprodutora
- 1
- 1