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
Add ucred and socket related types to uclibc-mips32 #1605
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
All builds passed except two configurations:
Thanks! |
@bors: r+ |
📌 Commit b911a0e has been approved by |
Add ucred and socket related types to uclibc-mips32 Fix compilation of the [tokio](https://github.com/tokio-rs) rust for MIPS architecture when using uClibc. Added missed types, which are defined in library headers: https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/socket.h#L320 https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/in.h#L35-L36 https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/in.h#L140-L143 Should also solve deprecrated/net2-rs#88 Revisit of #1500
💔 Test failed - status-azure |
Same results, but there is one spontaneous failure due to unavailable resources 😟 I'm happy to fix one with unused constants, could you please point me to right direction what to do? |
Sure. Some of the constants that you added are "unused" which means that they are not exported by the library. This happens, for example, if a parent module e.g. |
@gnzlbg Thanks for the hint! Those were indeed duplicated. Actually, after I made more precise look, I realized that the UPD: Finally build passed (except one with Mac, which is not PR related) |
@bors: r+ |
📌 Commit 7335d1e has been approved by |
@bors: retry |
@zvirja: 🔑 Insufficient privileges: not in try users |
Fair enough, but worth trying ;-) @gnzlbg It looks like it stuck and didn’t run tests again to merge the PR 🤔 |
Add ucred and socket related types to uclibc-mips32 Fix compilation of the [tokio](https://github.com/tokio-rs) rust for MIPS architecture when using uClibc. Added missed types, which are defined in library headers: https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/socket.h#L320 https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/in.h#L35-L36 https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/in.h#L140-L143 Should also solve deprecrated/net2-rs#88 Revisit of #1500
@zvirja there were other PRs in the queue, so bors couldn't start testing it immediately: https://buildbot2.rust-lang.org/homu/queue/libc |
☀️ Test successful - checks-cirrus-freebsd-10, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, status-azure |
@gnzlbg Thanks for your help and review! 🤝 |
There are a couple of PRs in the queue with good chances of merging as well. As soon as they merge in the next couple of hours I'll do a new release. |
Fix compilation of the tokio rust for MIPS architecture when using uClibc. Added missed types, which are defined in library headers:
https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/socket.h#L320
https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/in.h#L35-L36
https://github.com/kraj/uClibc/blob/ca1c74d67dd115d059a875150e10b8560a9c35a8/libc/sysdeps/linux/common/bits/in.h#L140-L143
Should also solve deprecrated/net2-rs#88
Revisit of #1500