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

Update Cargo.lock #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update Cargo.lock #241

wants to merge 1 commit into from

Conversation

huajingyun01
Copy link

@huajingyun01 huajingyun01 commented May 16, 2024

Libc needs to be updated to 0.2.155 because websocat compiles based on musl loongarch64 and reports an error:

error[E0573]: expected type, found function `stat64`
  --> /home/alpine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/linux_like/linux/musl/lfs64.rs:95:67
   |
95 | pub unsafe extern "C" fn lstat64(path: *const ::c_char, buf: *mut ::stat64) -> ::c_int {
   |                                                                   ^^^^^^^^ not a type

error[E0412]: cannot find type `c_char` in the crate root
   --> /home/alpine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/linux_like/linux/musl/lfs64.rs:219:52
    |
219 | pub unsafe extern "C" fn stat64(pathname: *const ::c_char, statbuf: *mut ::stat64) -> ::c_int {
    |                                                    ^^^^^^
    |
   ::: /home/alpine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:6:1

Libc release notes : https://github.com/rust-lang/libc/releases

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant