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

Gracefully fallback on stolen bodies #312

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

Nadrieril
Copy link
Member

@Nadrieril Nadrieril commented Aug 14, 2024

There's no simple order to translate items that would avoid stolen MIR bodies. Using the new Steal::is_stolen() API (rust-lang/rust#128815) we fallback to optimized_mir if the body was stolen, instead of panicking.

@Nadrieril Nadrieril changed the title Gracefully error on stolen bodies Gracefully fallback on stolen bodies Aug 14, 2024
@Nadrieril Nadrieril merged commit 7728aa1 into AeneasVerif:main Aug 14, 2024
6 checks passed
@Nadrieril Nadrieril deleted the stealing branch August 14, 2024 12:08
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