Skip to content
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: print error: messages and their contents from cargo #3336

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

jkelleyrtp
Copy link
Member

I noticed in #3298 that many users are running into opaque cargo issues because we're swallowing cargo's output in some scenarios.

Apparently most build errors aren't covered by any of the cargo metadata variants:

oli-obk/cargo_metadata#168

This implements some basic heuristics to discover when cargo is emitting TextLine messages that are actually errors and ensures those make it to the user.

@jkelleyrtp jkelleyrtp merged commit 94a499c into main Dec 11, 2024
17 checks passed
@jkelleyrtp jkelleyrtp deleted the jk/print-cargo-errs branch December 11, 2024 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant