4 ms·
Mold linker cut down a lot of the build time when we were writing a tauri app, but the build times were still .. not my favorite.
by saidinesh5 4y ago
Mold linker cut down a lot of the build time when we were writing a tauri app, but the build times were still .. not my favorite.
- orthecreedence 4y agoI 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"]