-
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
Fix rustc_driver swallowing errors when compilation is stopped #58400
Conversation
@bors r+ for future reference, this is relevant for clippy and semverver, because their exit code currently is 0 even if errors occurred |
📌 Commit ad720fc8b786128693a553ec5ee9a09dff8949bf has been approved by |
@bors r- a comment in the code explaining this would be great. r=me with that |
@oli-obk is it easily possible to add a test for this ? I tried for a bit but failed. |
@oli-obk comment added, this is such a tiny change that i've rebased and force-pushed. Hope that's ok. |
@bors r+ |
📌 Commit 3a8448c has been approved by |
I don't think so. Well, not here. We can add it to clippy and that will make the toolstate fail |
Fix rustc_driver swallowing errors when compilation is stopped r? @oli-obk
Fix rustc_driver swallowing errors when compilation is stopped r? @oli-obk
Fix rustc_driver swallowing errors when compilation is stopped r? @oli-obk
Rollup of 10 pull requests Successful merges: - #58110 (libpanic_unwind => 2018) - #58167 (HirId-ify hir::BodyId) - #58202 (Ignore future deprecations in #[deprecated]) - #58272 (Cut down on number formating code size) - #58276 (Improve the error messages for missing stability attributes) - #58354 (Fix ICE and invalid filenames in MIR printing code) - #58381 (Only suggest imports if not imported.) - #58386 (Fix #54242) - #58400 (Fix rustc_driver swallowing errors when compilation is stopped) - #58420 (target/uefi: clarify documentation) Failed merges: r? @ghost
@oli-obk FYI this did fix rust-semverver upstream. We were testing that all tests should succeed, and now some of the tests correctly report an error: rust-lang/rust-semverver#93 |
r? @oli-obk