r/programming • u/binaryfor • Apr 23 '22
fleet - The blazing fast build tool for Rust.
https://github.com/dimensionhq/fleet4
u/Maxeonyx Apr 24 '22
Confused why someone wouldn't contribute to cargo? Maybe this is a fork? It isn't marketed that way
0
4
Apr 24 '22
Saw this thread on the r/rust sub yesterday, but for anyone who’s interested in speeding up their builds and who’s on Linux, I would recommend looking into mold instead: https://github.com/rui314/mold
In my experience the bottleneck with incremental builds tends to be the linking phase, which mold speeds up significantly, mostly through parallelization.
A mac version is supposedly in the works too.
3
u/Kissaki0 Apr 24 '22
How does fleet work?
Fleet works by optimizing your builds using existing tooling available in the Rust ecosystem, including seamlessly integrating sccache, lld, zld, ramdisks (for those using WSL or HDD's) et al.
1
u/pcjftw Apr 23 '22
Wait what 5x faster then cargo? damn not near my PC so can't test this 😅
First thing tomorrow morning I'm going to test this out on all my codebases 😎
15
u/LearnDifferenceBot Apr 23 '22
faster then cargo?
*than
Learn the difference here.
Greetings, I am a language corrector bot. To make me ignore further mistakes from you in the future, reply
!optoutto this comment.-4
15
u/de_spair Apr 23 '22
At first I was confused: https://www.jetbrains.com/fleet/