TLDR Web Dev · MISCELLANEOUS

HOW I REDUCED (INCREMENTAL) RUST COMPILE TIMES BY UP TO 40%

coderemote.dev3 min read

Summary from the TLDR Web Dev newsletter

Frustrated by slow Rust compile times, this author modified the Rust compiler (rustc) to cache procedural macro expansions. They focused on improving incremental build times, which yielded 11-40% faster incremental builds in real-world projects.