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

Wasmtime: fix PartialEq implementation for RegisteredType #10091

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Jan 23, 2025

We were incorrectly checking whether they were in the same rec group (i.e. whether the two RegisteredTypes had the same RecGroupEntry) rather than whether they were actually the same type or not, even if they were in the same rec group.

This fixes one of two issues reported in #9714

We were incorrectly checking whether they were in the same rec
group (i.e. whether the two `RegisteredType`s had the same `RecGroupEntry`)
rather than whether they were actually the same type or not, even if they were
in the same rec group.

This fixes one of two issues reported in bytecodealliance#9714
@fitzgen fitzgen requested a review from a team as a code owner January 23, 2025 13:33
@fitzgen fitzgen requested review from alexcrichton and removed request for a team January 23, 2025 13:33
@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Jan 23, 2025
@alexcrichton alexcrichton added this pull request to the merge queue Jan 23, 2025
Merged via the queue into bytecodealliance:main with commit 938c177 Jan 23, 2025
39 checks passed
@fitzgen fitzgen deleted the issue-9714 branch January 23, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasmtime:api Related to the API of the `wasmtime` crate itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants