Skip to content

Commit

Permalink
Merge branch 'main' into fix/free-threading-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
nichmor authored Jan 3, 2025
2 parents c2cc599 + b6e4dbd commit 92d0818
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/cli/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@ fn default_archive_name() -> Option<String> {
} else {
Some("pixi-aarch64-apple-darwin.tar.gz".to_string())
}
} else if cfg!(target_os = "windows") && cfg!(target_arch = "x86_64") {
Some("pixi-x86_64-pc-windows-msvc.zip".to_string())
} else if cfg!(target_os = "windows") {
if cfg!(target_arch = "x86_64") {
Some("pixi-x86_64-pc-windows-msvc.zip".to_string())
} else if cfg!(target_arch = "aarch64") {
Some("pixi-aarch64-pc-windows-msvc.zip".to_string())
} else {
None
}
} else if cfg!(target_os = "linux") {
if cfg!(target_arch = "x86_64") {
Some("pixi-x86_64-unknown-linux-musl.tar.gz".to_string())
Expand Down

0 comments on commit 92d0818

Please sign in to comment.