We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2dc54 commit 36b96d9Copy full SHA for 36b96d9
crates/uv-python/src/platform.rs
@@ -157,8 +157,10 @@ impl Arch {
157
158
// TODO: Implement `variant` support checks
159
160
- // Windows ARM64 runs emulated x86_64 binaries transparently
161
- if cfg!(windows) && matches!(self.family, target_lexicon::Architecture::Aarch64(_)) {
+ // macOS aarch64 and Windows ARM64 runs emulated x86_64 binaries transparently
+ if (cfg!(windows) || cfg!(target_os = "macos"))
162
+ && matches!(self.family, target_lexicon::Architecture::Aarch64(_))
163
+ {
164
return other.family == target_lexicon::Architecture::X86_64;
165
}
166
0 commit comments