Closed mkb2091 closed 3 years ago
duplicate of https://github.com/rust-lang/wg-cargo-std-aware/issues/66, hadn't spotted that also covered same error on musl system
worksround: export RUSTFLAGS="-Lnative=/usr/lib"
Yeah that workaround works for me, thanks
Tried compiling empty project and it failed with the error
cargo version:
cargo 1.55.0-nightly (9233aa06c 2021-06-22)
system: Void Linux with musl and libccommand to reproduce
But I tested instead creating a project with libc as a dependency and compiled as normal
cargo +nightly build --release
and it builds fine, so libc isn't the entire problem