mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 13:38:43 +00:00
![]() * feat `detect-targets`: Improve support of non-std glibc/musl Fixed #1329 - Refactor: Create `linux::detect_alternative_targets` to reuse code from other targets - Run `/lib/ld-linux-{cpu_arch}.so.1 --version` for checking glibc support instead of running `ldd --version` since it could be non-std glibc installation and does not provide `/lib/ld-linux-{cpu_arch}.so.1` - Check for non-std glibc and add fallback target `{cpu_arch}-{distro_name}-linux-gnu{abi}` - Add `{cpu_arch}-{distro_name}-linux-musl{abi}` fallback for musl libc, specially for Alpine since it has a `/lib/ld-musl-{cpu_arch}.so.1` - For unknown libc flavor, check for the target provided before fallback to musl Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * feat `detect-targets`: Support glibc on musl target Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * feat `detect-targets`: Unify `Libc::{Gnu, Musl}` checks since we can't really tell if we are on gnu or musl Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> |
||
---|---|---|
.. | ||
atomic-file-install | ||
bin | ||
binstalk | ||
binstalk-bins | ||
binstalk-downloader | ||
binstalk-fetchers | ||
binstalk-manifests | ||
binstalk-registry | ||
binstalk-types | ||
cargo-toml-workspace | ||
detect-targets | ||
detect-wasi | ||
fs-lock | ||
leon | ||
leon-macros | ||
normalize-path | ||
simple-git |