Function load_cross_compile_config

Source
fn load_cross_compile_config(
    cross_compile_config: CrossCompileConfig,
) -> Result<InterpreterConfig>
Expand description

Detects the cross compilation target interpreter configuration from all available sources (PyO3 environment variables, Python sysconfigdata, etc.).

Returns the “default” target interpreter configuration for Windows and when no target Python interpreter is found.

Must be called from a PyO3 crate build script.

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