Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cm, wit/bindgen: implement flags types with > 64 labels #111

Open
2 tasks
ydnar opened this issue Jun 23, 2024 · 0 comments
Open
2 tasks

cm, wit/bindgen: implement flags types with > 64 labels #111

ydnar opened this issue Jun 23, 2024 · 0 comments

Comments

@ydnar
Copy link
Collaborator

ydnar commented Jun 23, 2024

Related to WebAssembly/component-model#370, the Go code generation for flags types currently supports flags with <= 64 labels. This is consistent with wit-bindgen (for C and possibly other languages) code generation.

Tasks

  • Implement flags with > 64 labels, with appropriate bindings generation for flags types that won’t fit in a single integer type.
  • Implement CABI lift and lower code for flags types larger than uint64.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant