Function default_abi3_config

Source
fn default_abi3_config(
    host: &Triple,
    version: PythonVersion,
) -> Result<InterpreterConfig>
Expand description

Generates “default” interpreter configuration when compiling “abi3” extensions without a working Python interpreter.

version specifies the minimum supported Stable ABI CPython version.

This should work for most CPython extension modules when compiling on Windows, macOS and Linux.

Must be called from a PyO3 crate build script.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here