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

Add an option to downgrade errors to warnings #748

Closed
wants to merge 1 commit into from

Conversation

Nadrieril
Copy link
Collaborator

In Charon we want to extract a crate even when there are errors. To achieve that, we use catch_unwind when translating any item. Except sometimes this isn't enough, because hax's use of struct_fatal and struct_err informs rustc that there was an error, which causes Charon to fail. This PR adds an option to avoid that.

@Nadrieril
Copy link
Collaborator Author

I found another solution: I can just ignore rustc's errors in Charon. So unless you have a use for this too, this is no longer useful.

@Nadrieril Nadrieril closed this Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant