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

mips32: fix missing __s64 type definition #3016

Merged
merged 1 commit into from Nov 27, 2022
Merged

Commits on Nov 26, 2022

  1. mips32: fix missing __s64 type definition

    ```shell
    $ cargo build hello --target mipsel-unknown-linux-uclibc
    ...
    error[E0412]: cannot find type `__s64` in the crate root
       --> /root/.cargo/registry/src/github.com-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/github.com-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>
    cppcoffee committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    2d8ed5c View commit details
    Browse the repository at this point in the history