diff --git a/src/target.rs b/src/target.rs index 24b0e3e9..03c02a56 100644 --- a/src/target.rs +++ b/src/target.rs @@ -17,7 +17,7 @@ pub const TARGET: &str = env!("TARGET"); pub async fn detect_targets() -> Vec> { #[cfg(target_os = "linux")] { - return linux::detect_targets_linux().await; + linux::detect_targets_linux().await } #[cfg(target_os = "macos")] { @@ -31,7 +31,7 @@ mod linux { use std::process::Output; use tokio::process::Command; - async fn detect_targets_linux() -> Vec> { + pub(super) async fn detect_targets_linux() -> Vec> { let abi = parse_abi(); if let Ok(Output {