pub fn introspect_cdylib(
library_path: impl AsRef<Path>,
main_module_name: &str,
) -> Result<Module>
Expand description
Introspect a cdylib built with PyO3 and returns the definition of a Python module.
This function currently supports the ELF (most *nix including Linux), Match-O (macOS) and PE (Windows) formats.