File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -256,6 +256,7 @@ impl ImportLibraryGenerator {
256256 Some ( ( 3 , 10 ) ) => ( "python310.def" , include_str ! ( "python310.def" ) ) ,
257257 Some ( ( 3 , 11 ) ) => ( "python311.def" , include_str ! ( "python311.def" ) ) ,
258258 Some ( ( 3 , 12 ) ) => ( "python312.def" , include_str ! ( "python312.def" ) ) ,
259+ Some ( ( 3 , 13 ) ) => ( "python313.def" , include_str ! ( "python313.def" ) ) ,
259260 _ => return Err ( Error :: new ( ErrorKind :: Other , "Unsupported Python version" ) ) ,
260261 } ,
261262 PythonImplementation :: PyPy => match self . version {
@@ -524,7 +525,7 @@ mod tests {
524525 . generate ( & dir)
525526 . unwrap ( ) ;
526527
527- for minor in 7 ..=12 {
528+ for minor in 7 ..=13 {
528529 ImportLibraryGenerator :: new ( "x86_64" , "gnu" )
529530 . version ( Some ( ( 3 , minor) ) )
530531 . generate ( & dir)
@@ -563,7 +564,7 @@ mod tests {
563564 . generate ( & dir)
564565 . unwrap ( ) ;
565566
566- for minor in 7 ..=12 {
567+ for minor in 7 ..=13 {
567568 ImportLibraryGenerator :: new ( "x86_64" , "msvc" )
568569 . version ( Some ( ( 3 , minor) ) )
569570 . generate ( & dir)
You can’t perform that action at this time.
0 commit comments