Skip to content

Commit 29a325c

Browse files
committed
Sync legacy_py.rs with upstream PyPI warehouse legacy.py
- Add macOS 26 to MACOS_MAJOR_VERSIONS - Add riscv64 to MUSLLINUX_ARCHES (upstream unified manylinux/musllinux arches)
1 parent 98c4d72 commit 29a325c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/target/legacy_py.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub(super) static WINDOWS_ARCHES: &[&str] = &["x86_64", "i686", "aarch64"];
5050
pub(super) static MACOS_ARCHES: &[&str] = &["x86_64", "arm64", "i686", "universal2"];
5151

5252
/// Those are actually hardcoded in warehouse in the same way.
53-
pub(super) static MACOS_MAJOR_VERSIONS: &[&str] = &["10", "11", "12", "13", "14", "15"];
53+
pub(super) static MACOS_MAJOR_VERSIONS: &[&str] = &["10", "11", "12", "13", "14", "15", "26"];
5454

5555
pub(super) static IOS_ARCHES: &[&str] = &["arm64", "x86_64"];
5656

@@ -60,5 +60,6 @@ pub(super) static MANYLINUX_ARCHES: &[&str] = &[
6060
"x86_64", "i686", "aarch64", "armv7l", "ppc64le", "s390x", "ppc64", "riscv64",
6161
];
6262

63-
pub(super) static MUSLLINUX_ARCHES: &[&str] =
64-
&["x86_64", "i686", "aarch64", "armv7l", "ppc64le", "s390x"];
63+
pub(super) static MUSLLINUX_ARCHES: &[&str] = &[
64+
"x86_64", "i686", "aarch64", "armv7l", "ppc64le", "s390x", "riscv64",
65+
];

0 commit comments

Comments
 (0)