File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
source/ports/py_port/metacall Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ def generate_module(handle_name, handle):
154154 'ts' : 'ts' ,
155155 'jsx' : 'ts' ,
156156 'tsx' : 'ts' ,
157+ # Rust Loader
157158 'rs' : 'rs' ,
158159 # Note: By default js extension uses NodeJS loader instead of JavaScript V8
159160 # Probably in the future we can differenciate between them, but it is not trivial
@@ -211,6 +212,8 @@ def generate_module(handle_name, handle):
211212 call_frame [1 ][3 ] == 'metacall_load_from_file'
212213 or call_frame [1 ][3 ] == 'metacall_load_from_package'
213214 or call_frame [1 ][3 ] == 'metacall_load_from_memory'
215+ or call_frame [1 ][3 ] == 'metacall_load_from_file_export'
216+ or call_frame [1 ][3 ] == 'metacall_load_from_package_export'
214217 ):
215218 return ImportException (f'MetaCall could not import: { name } ' )
216219
You can’t perform that action at this time.
0 commit comments