Skip to content

Commit 7f715a2

Browse files
authored
feat: Add support for PyPy v3.11 (#87)
1 parent 8b2b764 commit 7f715a2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ impl ImportLibraryGenerator {
298298
Some((3, 7)) | Some((3, 8)) => ("libpypy3-c.def", include_str!("libpypy3-c.def")),
299299
Some((3, 9)) => ("libpypy3.9-c.def", include_str!("libpypy3.9-c.def")),
300300
Some((3, 10)) => ("libpypy3.10-c.def", include_str!("libpypy3.10-c.def")),
301+
Some((3, 11)) => ("libpypy3.11-c.def", include_str!("libpypy3.11-c.def")),
301302
_ => return Err(Error::new(ErrorKind::Other, "Unsupported PyPy version")),
302303
},
303304
};
@@ -577,7 +578,7 @@ mod tests {
577578
}
578579

579580
// PyPy
580-
for minor in 7..=10 {
581+
for minor in 7..=11 {
581582
ImportLibraryGenerator::new("x86_64", "gnu")
582583
.version(Some((3, minor)))
583584
.implementation(PythonImplementation::PyPy)
@@ -625,7 +626,7 @@ mod tests {
625626
}
626627

627628
// PyPy
628-
for minor in 7..=10 {
629+
for minor in 7..=11 {
629630
ImportLibraryGenerator::new("x86_64", "msvc")
630631
.version(Some((3, minor)))
631632
.implementation(PythonImplementation::PyPy)
@@ -674,7 +675,7 @@ mod tests {
674675
}
675676

676677
// PyPy
677-
for minor in 7..=10 {
678+
for minor in 7..=11 {
678679
ImportLibraryGenerator::new("aarch64", "msvc")
679680
.version(Some((3, minor)))
680681
.implementation(PythonImplementation::PyPy)

0 commit comments

Comments
 (0)