3 ms·
I know there's probably docs somewhere, but what was the process to integrate mold into your build chain? Is it involved or fairly easy? I just heard of this fo
by orthecreedence 4y ago
I know there's probably docs somewhere, but what was the process to integrate mold into your build chain? Is it involved or fairly easy? I just heard of this for the first time and wondering if it could be useful to cut down build times in all my rust libs/apps...
EDIT: found this: https://www.reddit.com/r/rust/comments/rhcnzt/mold_a_modern_linker_10_release/hoqslfc/ https://www.reddit.com/r/rust/comments/rhcnzt/mold_a_modern_...
- ripley12 4y agoIt’s trivial, check the README on Mold’a GitHub repo.
- saidinesh5 4y ago$ cat ~/.cargo/config.toml [target.x86_64-unknown-linux-gnu] linker = "/usr/bin/clang" rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold"]