cargo-binstall/crates/detect-targets/src/detect
Jiahao XU efbd20857b
Fix detect-targets on ubuntu 20.04, glibc 2.31 (#1379)
* Fix `detect-targets` on ubuntu 20.04, glibc 2.31

Fixed #1375 and fixed #1378

glibc 2.31 does not support `--version`, so we need to detect and
fallback to passing an executable linked with that glibc to check if it
is indeed glibc.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix compilation faillure on ubuntu-20.04

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-22 23:55:12 +00:00
..
linux.rs Fix detect-targets on ubuntu 20.04, glibc 2.31 (#1379) 2023-09-22 23:55:12 +00:00
macos.rs Fix aarch64-apple-darwin fallback to x86_64h (#1278) 2023-08-11 01:02:03 +00:00
windows.rs detect-targets: Add fallback to windows (#650) 2023-06-04 03:58:05 +00:00