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 [u8 ; 0usize] in bindgen #216

Closed
adetaylor opened this issue Feb 20, 2021 · 0 comments · Fixed by #230
Closed

Handle [u8 ; 0usize] in bindgen #216

adetaylor opened this issue Feb 20, 2021 · 0 comments · Fixed by #230

Comments

@adetaylor
Copy link
Collaborator

If bindgen outputs an opaque type like this, we should be able to handle it and just treat it as a fully opaque type.

Chromium types which do this:

url::CharT
string16_internals::traits_type
string16_internals::value_type

At least some of these are due to rust-lang/rust-bindgen#1975 but meanwhile we should treat these as opaque types.

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 a pull request may close this issue.

1 participant