pub fn is_extension_module() -> boolExpand description
Checks if the extension-module feature is enabled for the PyO3 crate.
This can be triggered either by:
- The
extension-moduleCargo feature (deprecated) - Setting the
PYO3_BUILD_EXTENSION_MODULEenvironment variable
Must be called from a PyO3 crate build script.