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

Handle struct returns with one primitive field #742

Merged

Conversation

ambiguousname
Copy link
Member

Threw this together quickly, let me know if there are any issues with this quick fix.

Fixes #739

@ambiguousname ambiguousname added the B-js JS backend label Dec 7, 2024
@ambiguousname ambiguousname changed the title Handle one field struct returns Handle struct returns with one primitive field Dec 7, 2024
@Manishearth Manishearth merged commit 8593fda into rust-diplomat:main Dec 9, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-js JS backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WASM ABI: Functions that return structs of only one field (even nested) are collapsed
2 participants