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

fix(C): Omit empty unions in result type bindings #687

Merged

Conversation

tschneidereit
Copy link
Member

Empty unions have different sizes in C and C++, meaning a C header containing them can't be used in C++.

Empty unions have different sizes in C and C++, meaning a C header containing them can't be used in C++.

Signed-off-by: Till Schneidereit <till@tillschneidereit.net>
@alexcrichton alexcrichton merged commit f266eb1 into bytecodealliance:main Oct 5, 2023
9 checks passed
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.

2 participants