mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-12 06:50:02 +00:00
Fix glibc detection on ubuntu 24.02 (#2143)
* Fix glibc detection on ubuntu 24.02 On ubuntu 24.02, glibc are installed in: ``` /usr/lib/aarch64-linux-gnu/libc.so.6 /usr/lib/aarch64-linux-gnu/libc.so ``` Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Add tests for ubuntu-24.02-arm Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Fix CI: Add detect-targets-ubuntu-arm-test Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Bump ubuntu-20.04 to ubuntu-22.04 Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> * Update outdated comment in detect-targets-ubuntu-arm-test in ci.yml Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --------- Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
20e9b25913
commit
1394d1bbda
2 changed files with 24 additions and 3 deletions
|
@ -52,6 +52,10 @@ pub(super) async fn detect_targets(target: String) -> Vec<String> {
|
|||
format!("/lib64/{dirname}/{filename}"),
|
||||
format!("/usr/lib/{dirname}/{filename}"),
|
||||
format!("/usr/lib64/{dirname}/{filename}"),
|
||||
format!("/usr/lib/{dirname}/libc.so.6"),
|
||||
format!("/usr/lib64/{dirname}/libc.so.6"),
|
||||
format!("/usr/lib/{dirname}/libc.so"),
|
||||
format!("/usr/lib64/{dirname}/libc.so"),
|
||||
]
|
||||
.into_iter()
|
||||
.map(|p| AutoAbortHandle(tokio::spawn(is_gnu_ld(p))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue