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

flags are generated as rust enums #7

Open
vemoo opened this issue Dec 6, 2021 · 0 comments
Open

flags are generated as rust enums #7

vemoo opened this issue Dec 6, 2021 · 0 comments

Comments

@vemoo
Copy link

vemoo commented Dec 6, 2021

Which means that they cannot be combined. They should be generated using bitfield_enum.

Also the docs mention that rustified_enum can lead to UB, so I think for a -sys crate it's probably best to avoid it and use one of the other options.

vemoo added a commit to vemoo/rust_minifb that referenced this issue Dec 6, 2021
`xkb` still depends on the previous version
and there are some issues in the new version
meh/rust-xkbcommon-sys#7
emoon pushed a commit to emoon/rust_minifb that referenced this issue Dec 7, 2021
`xkb` still depends on the previous version
and there are some issues in the new version
meh/rust-xkbcommon-sys#7
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

No branches or pull requests

1 participant