Function link_libpython

Source
pub fn link_libpython(
    env: &Environment,
    context: &LibPythonBuildContext,
    host_triple: &str,
    target_triple: &str,
    opt_level: &str,
    apple_sdk_info: Option<&AppleSdkInfo>,
) -> Result<LibpythonInfo>
Expand description

Create a static libpython from a Python distribution.

Returns a struct describing the generated libpython.