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

use rustix for _IO generator macros #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

habnabit
Copy link

this would use libc but for rust-lang/libc#1662

it failed for me on mipsel, which has _IOC_SIZEBITS = 13. instead of trying to replicate platform special-case behavior in here that already exists elsewhere, use rustix. there's likely already a dependency on rustix somewhere else in the tree. the exact version could be pinned much earlier. but, here's an idea.

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.

1 participant