-
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
Option to show cached error messages on 'cargo build' re-run #2494
Comments
This seems like it would require quite a bit of support for a somewhat niche use case, but could perhaps be done one day? |
I agree that it is a bit of a niche case, but support for it would still be nice :) |
@alexcrichton A more useful alternative would be an option that displays all the errors, without going through the process of generating a binary. If it's fast enough, it could be run continuously on edits without the overhead of generating a binary every time? (I'm guessing the error-checking and binary compilation steps are separated) |
Ah yeah unfortunately the compiler doesn't support doing that, but we've talked about a mode like that in the past! |
This sounds like it would have to be fixed in rust-lang/rust, so I'm closing! |
I'm not sure why this is considered "niche" usage. Repeatedly attempting to compile one's codebase is a typical use case, and I would say it's pretty common for some files to be compiled successfully before others, causing any warnings from those files to be glossed over in order to focus on the remaining hard errors. |
This has been implemented and is tracked in #6986. |
Hello,
Similar to this issue: http://stackoverflow.com/questions/31125226/it-is-possible-to-always-have-cargo-show-warnings
It would be nice to have an option for cargo to cache and display the build errors and warnings even when no changes are detected. This way, recompilation is not required just to see the last error messages.
The text was updated successfully, but these errors were encountered: