-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fails to build with musl due to incorrect arguments to libc::ioctl #8229
Comments
Just confirming, are you building on a 32 bit system? |
No, this is from x86_64. |
Ah I see for musl the libc crate uses i32 instead of u64 for ioctl: https://docs.rs/libc/0.2.153/x86_64-unknown-linux-musl/libc/fn.ioctl.html The constant is u64 in musl libc: https://docs.rs/libc/0.2.153/x86_64-unknown-linux-musl/libc/constant.SIOCETHTOOL.html. Probably the best option here is to do the cast as suggested by the compiler. Do you mind testing out that change? |
This problem is there for
|
The text was updated successfully, but these errors were encountered: