Skip to content

Commit a23029b

Browse files
committed
Add rs package extension to py_port.
Signed-off-by: Tricster <[email protected]>
1 parent 8fe4c79 commit a23029b

File tree

1 file changed

+2
-0
lines changed
  • source/ports/py_port/metacall

1 file changed

+2
-0
lines changed

source/ports/py_port/metacall/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ def generate_module(handle_name, handle):
164164
'dll': 'cs',
165165
# WebAssembly Loader
166166
'wasm': 'wasm',
167+
# Rust Loader
168+
'rlib': 'rs'
167169
}
168170

169171
# Try to load it as a Python module

0 commit comments

Comments
 (0)