Skip to content

Commit 90c1329

Browse files
committed
Fix: declare useForAOT for NativeTypeLibrary
1 parent a483ada commit 90c1329

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/PyErrStackItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
* Emulates {@code _PyErr_StackItem}.
6161
*/
6262
@ExportLibrary(InteropLibrary.class)
63-
@ExportLibrary(NativeTypeLibrary.class)
63+
@ExportLibrary(value = NativeTypeLibrary.class, useForAOT = false)
6464
public final class PyErrStackItem extends PythonNativeWrapper {
6565

6666
public static final String EXC_TYPE = "exc_type";

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/capi/StructWrapperBaseWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
* </pre>
7676
*/
7777
@ExportLibrary(InteropLibrary.class)
78-
@ExportLibrary(NativeTypeLibrary.class)
78+
@ExportLibrary(value = NativeTypeLibrary.class, useForAOT = false)
7979
@SuppressWarnings("static-method")
8080
public final class StructWrapperBaseWrapper extends PythonNativeWrapper {
8181
public static final String NAME = "name";

0 commit comments

Comments
 (0)