Re:Show HN: Fleet – Experimental build tool for Rust that’s ...
by Klasiaster on Saturday April 23, 2022 @11:34AM
(#31135137)
Sounds interesting, do you want to share the ~/.cargo/config.toml entries?
[ Parent
| on HN ]
Re:Show HN: Fleet – Experimental build tool for Rust that’s ...
by vladvasiliu on Saturday April 23, 2022 @11:45AM
(#31135259)
Sure, but they're nothing special, just lifted the recommendations from sccache and mold.
sccache: https://github.com/mozilla/sccache#usage
mold: https://github.com/rui314/mold#how-to-use
My own cargo.toml:
[build]
rustc-wrapper = "/usr/bin/sccache"
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]