rust-cross / rust-musl-cross

Docker images for compiling static Rust binaries using musl-cross
MIT License
639 stars 70 forks source link

cannot find value `SO_INCOMING_CPU` in crate `libc` #38

Closed dosgo closed 3 years ago

dosgo commented 3 years ago

image

docker run --rm --privileged=true -v /d/rust/ddnsv6-rust/src:/home/rust/src messense/rust-musl-cross:mipsel-musl cargo build --release

messense commented 3 years ago

I think it's fixed in libc 0.2.93, see https://github.com/rust-lang/libc/pull/2135 , please check that the libc version in your Cargo.lock is new enough?

messense commented 3 years ago

https://github.com/dosgo/ddnsv6-rust/blob/0f08595e612796c2c8c9124d9b94ba65a28f1bdb/Cargo.lock#L888 it's 0.2.89, you need to run cargo update -p libc to update it.

dosgo commented 3 years ago

OK, thank you very much.