File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use python3_dll_a::ImportLibraryGenerator;
7
7
use target_lexicon:: { Architecture , OperatingSystem , Triple } ;
8
8
9
9
use super :: { PythonImplementation , PythonVersion } ;
10
- use crate :: errors:: { Context , Result } ;
10
+ use crate :: errors:: { Context , Error , Result } ;
11
11
12
12
/// Generates the `python3.dll` or `pythonXY.dll` import library for Windows targets.
13
13
///
@@ -42,7 +42,9 @@ pub(super) fn generate_import_lib(
42
42
let implementation = match py_impl {
43
43
PythonImplementation :: CPython => python3_dll_a:: PythonImplementation :: CPython ,
44
44
PythonImplementation :: PyPy => python3_dll_a:: PythonImplementation :: PyPy ,
45
- PythonImplementation :: GraalPy => python3_dll_a:: PythonImplementation :: GraalPy ,
45
+ PythonImplementation :: GraalPy => {
46
+ return Err ( Error :: from ( "No support for GraalPy on Windows" ) )
47
+ }
46
48
} ;
47
49
48
50
ImportLibraryGenerator :: new ( & arch, & env)
You can’t perform that action at this time.
0 commit comments