this post was submitted on 26 Jan 2024
35 points (94.9% liked)
Rust
6013 readers
3 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
Having 30min+ incremental compile times here (C++), I envy your situation ahah