Skip to content

Commit

Permalink
Merge branch 'fix/free-threading-selection' of github.com:nichmor/pix…
Browse files Browse the repository at this point in the history
…i into fix/free-threading-selection
  • Loading branch information
nichmor committed Jan 3, 2025
2 parents c4443f3 + 92d0818 commit 4505c23
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 4505c23

Please sign in to comment.