-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for cache-messages #6986
Labels
A-cache-messages
Area: caching of compiler messages
C-tracking-issue
Category: A tracking issue for something unstable.
Comments
ehuss
added
the
C-tracking-issue
Category: A tracking issue for something unstable.
label
May 27, 2019
This was referenced Jun 24, 2019
This was referenced Jul 20, 2019
Merged
bors
added a commit
that referenced
this issue
Jul 23, 2019
Force clippy to run. This causes `cargo clippy-preview` to always run, instead of possibly emitting no output if it is run a second time. This is just a personal preference of mine, but I think would be better behavior which we have talked about before. I don't think the arguments that it should be "fast" like `cargo check` apply here. Once [cache-messages](#6986) is stabilized, this can be removed.
It should be done. It should be in nightly the day after rust-lang/rust#65445 lands. |
🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-cache-messages
Area: caching of compiler messages
C-tracking-issue
Category: A tracking issue for something unstable.
Implementation PR: #6933
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#cache-messages
Summary
Caches the output from
rustc
so that future runs can redisplay previous warnings.This also fixes some interleaved output from parallel compilers, like #6848.
Unresolved issues
short
messages are not supported. Either the rustc JSON output needs to include an additional field with theshort
rendered form, or cargo and rustc need to share a diagnostics rendering library and the JSON format extended to support that.--json-rendered=termcolor
, so its output is currently uncolored.--json-rendered
needs to be stabilized (or redesigned, see first point).cargo check
. The fingerprint or metadata hash needs to include that clippy is in use to fix this. Also, the clippy wrapper needs to only be applied to member crates, not registry dependencies.The text was updated successfully, but these errors were encountered: