-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
mips32: fix missing __s64 type definition #3016
Conversation
```shell $ cargo build hello --target mipsel-unknown-linux-uclibc ... error[E0412]: cannot find type `__s64` in the crate root --> /root/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/linux/mod.rs:601:23 | 601 | pub src_fd: ::__s64, | ^^^^^ help: a type alias with a similar name exists: `__u64` | ::: /root/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/linux/uclibc/mips/mips32/mod.rs:15:1 | 15 | pub type __u64 = ::c_ulonglong; | ------------------------------- similarly named type alias `__u64` defined here For more information about this error, try `rustc --explain E0412`. ``` Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) soon. Please see the contribution instructions for more information. |
Thank you for the fix! @bors r+ |
mips32: fix missing __s64 type definition The compilation error message: ```shell $ cargo build hello --target mipsel-unknown-linux-uclibc ... error[E0412]: cannot find type `__s64` in the crate root --> /root/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/linux/mod.rs:601:23 | 601 | pub src_fd: ::__s64, | ^^^^^ help: a type alias with a similar name exists: `__u64` | ::: /root/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.137/src/unix/linux_like/linux/uclibc/mips/mips32/mod.rs:15:1 | 15 | pub type __u64 = ::c_ulonglong; | ------------------------------- similarly named type alias `__u64` defined here For more information about this error, try `rustc --explain E0412`. ``` Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
💔 Test failed - checks-actions |
@bors retry |
☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14 |
The compilation error message:
Signed-off-by: Xiaobo Liu cppcoffee@gmail.com