Replies: 1 comment 3 replies
-
|
rust-analyzer does not know when Cargo decides to rebuild, therefore it can't warn you about that. However if you set |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm using rust-analyzer and I'm seeing that differences in configuration trigger rebuilds of a lot of crates I'm not touching. I'd like to find a nice way of finding out what's broken.
I think the culprit of my current issue is the use of
--all-targets --all-featureson my Justfile, and emacs not configuring rust-analyzer with those, but what I'm really after isn't changes to.rust-analyzer.toml+Justfileto gets things in sync, but a way to debug when the build artifacts need to get thrown away and why.It'd be nice if a warning would be raised if somewhat fresh artifacts are being thrown away because of configuration differences.
Maybe the sets of build configurations is also persisted and flapping between multiple sets of configuration options can be detected (and maybe be attributed to a program too).
Beta Was this translation helpful? Give feedback.
All reactions