bytecodealliance / bytecodealliance/go-modules

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

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
148
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.