-
Notifications
You must be signed in to change notification settings - Fork 1.1k
AF_MAX/PF_MAX incorrect on local system #665
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
Comments
The same for me, Arch Linux, glibc 2.25 |
glibc 2.25 has added Qualcomm IPC Router and had to increment |
I think this ties into how does |
We should probably just ignore these constants in libc-test, the values don't seem too critical for keeping correct |
I was going to suggest they might just be worth removing, but that doesn't seem like the right answer either. |
Maybe we should instead generate such files during build based on the libc that is currently installed? It can possibly be a problem when rust-libc exports some constants libc doesn't. |
Digging around the internet more, I'm inclined to say that In I searched through all Rust projects on GitHub and in the first 20 pages couldn't find a use for |
Since #904 tests now skip these 2 values. |
I've submitted a PR that deprecates these #1375 . After a couple of releases, if nobody complains, we can remove these. |
Feel free to submit a PR removing these. |
These constants have already been deprecated for a few releases with a deprecation notice, so they can finally be removed. Closes rust-lang#665
|
Remove AF_MAX, PF_MAX, NET_MAXID constants These constants have already been deprecated for a few releases with a deprecation notice, so they can finally be removed. Closes #665
Remove AF_MAX, PF_MAX, NET_MAXID constants These constants have already been deprecated for a few releases with a deprecation notice, so they can finally be removed. Closes #665
I'm running x86_64 Linux and when running
libc-test
I the following:I don't remember getting these in the past, but I just upgraded to Fedora 26, so maybe newer libs changed this constant. Tests are also still passing in CI...
The text was updated successfully, but these errors were encountered: