Closed sfackler closed 4 months ago
Dunno if this is helpful but I see the same using Docker images based on Alpline-3.12 and Alpine 3.19.
We should probably add more cfg
on these usages and yank 0.1.29 after releasing a new one. I'll find a time sending a fix.
Yep, having the same issue here as well, on x86_64 Alpine edge.
I added a temporary fix in my Cargo.toml for this:
jobserver = { version = "=0.1.20", default-features = false }
It's enough to compile the cc
crate for now, which is what I needed it for
Same issue on rust:alpine3.19 docker image
Looks like musl libc has gained support of preadv2
since 1.2.5: https://www.openwall.com/lists/musl/2024/03/01/2, though that might be too new and the latest libc
doesn't have that at this moment.
Also having this issue. Perhaps MUSL compatibility should also be tested in CI?
Also having this issue. Perhaps MUSL compatibility should also be tested in CI?
Feel free to open a PR for that if it is not too complicated to set up in CI.
https://github.com/rust-lang/jobserver-rs/pull/80#issuecomment-2052112449
Published 0.1.30 and yanked 0.1.29.
For example, building in an alpine container:
https://docs.rs/libc/latest/x86_64-unknown-linux-musl/libc/index.html?search=preadv2