From 87243b9f7d8b60df33ad6411a624364f525c9e0c Mon Sep 17 00:00:00 2001 From: satyajeet104 Date: Thu, 9 Nov 2023 18:50:35 +0530 Subject: [PATCH] Use musl build variant of buck2 for linux --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 49d7a46..ce3ecb5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -139,7 +139,7 @@ fn get_releases(path: &Path) -> Result, Error> { fn get_arch() -> Result<&'static str, Error> { Ok(match env::consts::ARCH { "x86_64" => match env::consts::OS { - "linux" => "x86_64-unknown-linux-gnu", + "linux" => "x86_64-unknown-linux-musl", "darwin" | "macos" => "x86_64-apple-darwin", "windows" => "x86_64-pc-windows-msvc", unknown => return Err(anyhow!("Unsupported Arch/OS: x86_64/{unknown}")),