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

Skip inner obligations of ImplSource::Builtin #672

Merged
merged 1 commit into from
May 15, 2024

Conversation

Nadrieril
Copy link
Collaborator

As they can lead to infinite recursion on e.g. this:

fn builtin_bound<M: Send>(_msg: M) {}
fn use_builtin_bound() {
    builtin_bound(());
}

I tried to add a test in your test suite but there was no bug on hax itself; it seems this was only triggered in charon.

As they can lead to infinite recursion.
@W95Psp
Copy link
Collaborator

W95Psp commented May 15, 2024

Looks good to me, thanks!

@W95Psp W95Psp added this pull request to the merge queue May 15, 2024
Merged via the queue into hacspec:main with commit ded17ea May 15, 2024
12 of 13 checks passed
@Nadrieril Nadrieril deleted the fix-divergence-on-send-bound branch May 15, 2024 12:23
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.

2 participants