Skip to content

Commit

Permalink
Merge pull request #20 from satyajeet104/musl-fix
Browse files Browse the repository at this point in the history
Use musl build variant of buck2 for linux
  • Loading branch information
benbrittain authored Nov 9, 2023
2 parents c27ee04 + 87243b9 commit de36d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ fn get_releases(path: &Path) -> Result<Vec<Release>, 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}")),
Expand Down

0 comments on commit de36d13

Please sign in to comment.