cargo-binstall/crates/detect-targets
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
..
src Fix detect-targets on ubuntu 20.04, glibc 2.31 (#1379) 2023-09-22 23:55:12 +00:00
build.rs Optimize compilation time (#320) 2022-08-27 23:27:39 +12:00
Cargo.toml release: detect-targets v0.1.11 (#1367) 2023-09-17 01:39:04 +00:00
LICENSE-APACHE Refactor: Extract new crate detect-targets and improve code quality (#307) 2022-08-21 22:21:33 +10:00
LICENSE-MIT Refactor: Extract new crate detect-targets and improve code quality (#307) 2022-08-21 22:21:33 +10:00