Skip to content

Remove support for usize and char8#197

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:more-removal
Apr 20, 2022
Merged

Remove support for usize and char8#197
alexcrichton merged 1 commit intobytecodealliance:mainfrom
alexcrichton:more-removal

Conversation

@alexcrichton
Copy link
Member

Further iteration from #195 and dropping more features that are only
needed for *.witx, the usize and char8 types were only added for
backcompat with witx itself.

Copy link
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

char8 was for UTF-8 code units; with interface types, users now use string instead.

usize was for lengths of buffers; with interface types, users now use list and streams instead.

Further iteration from bytecodealliance#195 and dropping more features that are only
needed for `*.witx`, the `usize` and `char8` types were only added for
backcompat with witx itself.
@alexcrichton alexcrichton merged commit 6e260af into bytecodealliance:main Apr 20, 2022
@alexcrichton alexcrichton deleted the more-removal branch April 20, 2022 14:17
@alexcrichton alexcrichton mentioned this pull request Apr 20, 2022
21 tasks
willemneal pushed a commit to theahaco/wit-bindgen that referenced this pull request May 31, 2022
Further iteration from bytecodealliance#195 and dropping more features that are only
needed for `*.witx`, the `usize` and `char8` types were only added for
backcompat with witx itself.
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.

3 participants