File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 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;
77use target_lexicon:: { Architecture , OperatingSystem , Triple } ;
88
99use super :: { PythonImplementation , PythonVersion } ;
10- use crate :: errors:: { Context , Result } ;
10+ use crate :: errors:: { Context , Error , Result } ;
1111
1212/// Generates the `python3.dll` or `pythonXY.dll` import library for Windows targets.
1313///
@@ -42,7 +42,9 @@ pub(super) fn generate_import_lib(
4242 let implementation = match py_impl {
4343 PythonImplementation :: CPython => python3_dll_a:: PythonImplementation :: CPython ,
4444 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+ }
4648 } ;
4749
4850 ImportLibraryGenerator :: new ( & arch, & env)
You can’t perform that action at this time.
0 commit comments