Re:Rust – Faster compilation with the parallel front-end in ...
by Dowwie on Friday November 10, 2023 @12:12PM
(#38221449)
what was the caching strategy?
[ Parent
| on HN ]
Re:Rust – Faster compilation with the parallel front-end in ...
by insanitybit on Friday November 10, 2023 @12:28PM
(#38221702)
We did our builds in docker, for various reasons. So we relied on the docker buildx cache and some other tricks that I don't recall because I didn't work a ton on the build system.
Re:Rust – Faster compilation with the parallel front-end in ...
by Yoric on Friday November 10, 2023 @03:45PM
(#38224281)
Oh... Docker-based Rust builds are extremely slow in my experience.
I seem to remember that caching was really, really bad.
Re:Rust – Faster compilation with the parallel front-end in ...
by insanitybit on Friday November 10, 2023 @03:49PM
(#38224339)
Docker isn't the issue. I just did a clean build, 19 minutes 44 seconds (with a ~year old compiler though).
Re:Rust – Faster compilation with the parallel front-end in ...
by estebank on Friday November 10, 2023 @03:58PM
(#38224426)
Just out of curiosity, can you check the time for the same project with a more recent toolchain?
Re:Rust – Faster compilation with the parallel front-end in ...
by insanitybit on Friday November 10, 2023 @09:39PM
(#38227147)
Finished dev [optimized + debuginfo] target(s) in 16m 58s
Neat.