35
Where Does the Time Go? Rust's Problem with Slow Compiles
(thenewstack.io)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Every so often rust-analyzer in VS Code doesn't use the latest code after a
cargo update
and the only way I've found to fix it is acargo clean
. This means that I have to wait 5 minutes for the next build, painful. Just because of one project update. I would LOVE a faster build.Extra info: the updates come from my dependencies that utilize my private repositories via a
git = "[path]"
. The rust-analyzer is pulling from a cache or older version for some reason and I don't know where it is or why.Two tips that work for me:
Thanks for the suggestions. I appreciate it.