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

Make charon-lib fully independent from rustc #474

Merged
merged 8 commits into from
Nov 25, 2024

Conversation

Nadrieril
Copy link
Member

This PR switches to annotate-snippets to display error messages. This makes it possible to remove 100% of rustc internal dependencies from charon-lib (Span doesn't even need to hold a rustc Span anymore). This should also fix the issues in #145 where errors were miscategorized as panics.

Fixes #409.

@Nadrieril Nadrieril changed the title Make charon-lib fully independent of rustc Make charon-lib fully independent from rustc Nov 22, 2024
@Nadrieril Nadrieril merged commit 849b4f1 into AeneasVerif:main Nov 25, 2024
5 checks passed
@Nadrieril Nadrieril deleted the annotate-snippets branch November 25, 2024 10:18
github-merge-queue bot pushed a commit to model-checking/kani that referenced this pull request Jan 3, 2025
Update Charon submodule to
AeneasVerif/charon@adc0a85

Relevant Charon PRs:
AeneasVerif/charon#457: This required updating
the code that creates places to also pass in the type.
AeneasVerif/charon#464: This replaced the
file-to-id hash table by a vector, thus requiring that we add one in
Kani's translation context.
AeneasVerif/charon#474: The translation context
is no longer parameterized by a lifetime
AeneasVerif/charon#491: This required changing
the type of indices

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.

---------

Co-authored-by: thanhnguyen-aws <[email protected]>
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.

Use annotate-snippets for error messages
1 participant