How I reduced (incremental) Rust compile times by up to 40%
At CodeRemote, I have forked and modified the Rust compiler, rustc itself. One feature — caching procedural macro expansion — has yielded 11-40% faster incremental build times in several real-life crates. That means faster dev builds and less laggy rust-analyzer (IDE IntelliSense).
If you’re a Rust compiler performance pro, feel free to skip to what I did. Otherwise, keep reading for more context!
Rust compilation can be slow…
There is a lot to like about the Rust language, but it’s a bit of a m...
Read more at coderemote.dev