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

[attr_rewrite] Replace panic with vpanic #1491

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ziqiaozhou
Copy link
Collaborator

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

panic macro is a builtin macro in rust and could not be easily supported due to the use of panic_fmt takes Argument and Argument is created via Arguments::new_v1 with a private struct rt::Argument.

Thus, directly replacing panic macro is the easiest solution.

The change is only applied to verus_spec.

@ziqiaozhou ziqiaozhou marked this pull request as ready for review March 1, 2025 02:41
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