From d02776c7fcb7086067fb4534b9da7f6a95a16c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Mon, 15 Jan 2024 00:59:24 +1300 Subject: [PATCH] detect-target: fallback on targets we don't explicitly have support for (#1574) See #1573 --- crates/detect-targets/src/detect.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/detect-targets/src/detect.rs b/crates/detect-targets/src/detect.rs index 15d8a125..a85e6e07 100644 --- a/crates/detect-targets/src/detect.rs +++ b/crates/detect-targets/src/detect.rs @@ -57,6 +57,8 @@ pub async fn detect_targets() -> Vec { // Linux is a bit special, since the result from `guess_host_triple` // might be wrong about whether glibc or musl is used. linux::detect_targets(target).await + } else { + vec![target] } } }