-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
"x.py check" shows error twice #76822
Comments
This is likely a consequence of #76258. Cargo checks the library and unit test in parallel, which can result in duplicate messages. This is a cargo issue (tracked in rust-lang/cargo#5128). I'm thinking about adding a hash to track duplicates, but it will likely be a little tricky. |
Ah that makes sense... closing in favor of rust-lang/cargo#5128 then. |
FWIW we could "fix" this by running first the regular check and then the all-target check, but that would likely be a slowdown on most systems as you lose a bunch of potential parallelism. |
This matches Cargo behavior and avoids the (somewhat expensive) double checking, as well as the unfortunate duplicate error messages (rust-lang#76822, rust-lang/cargo#5128).
…static-morse Make --all-targets in x.py check opt-in In particular due to rust-lang#76822, making this the default is currently suboptimal. r? @ecstatic-morse
I just got this output from
./x.py check
:I also noticed that the cargo "status bar" will show things like
rustc_mir, rustc_mir
orrustc_driver, rustc_driver
. Is it building everything twice?Cc @Mark-Simulacrum
The text was updated successfully, but these errors were encountered: