Skip to main content

Module pyo3_build_script_impl

Module pyo3_build_script_impl 

Source
Expand description

Private exports used in PyO3’s build.rs

Please don’t use these - they could change at any time.

Re-exports§

pub use crate::impl_::cargo_env_var;
pub use crate::impl_::env_var;
pub use crate::impl_::is_linking_libpython_for_target;
pub use crate::impl_::target_triple_from_env;
pub use crate::impl_::InterpreterConfig;
pub use crate::impl_::PythonAbi;
pub use crate::impl_::PythonAbiKind;
pub use crate::impl_::PythonVersion;
pub use crate::impl_::StableAbi;

Modules§

errors

Structs§

BuildConfig
MaximumVersionExceeded
Helper to generate an error message when the configured Python version is newer than PyO3’s current supported version.

Enums§

BuildConfigSource

Functions§

print_feature_cfg 🔒
Helper to print a feature cfg with a minimum rust version required.
print_feature_cfgs
Detects features which pyo3 and pyo3-ffi depend upon internally, and prints the appropriate cargo:rustc-cfg and cargo:rustc-check-cfg directives to enable them.
print_libpython_rpath_link_args
Emit libpython rpath link args if appropriate for the target and interpreter config.
resolve_build_config
Gets the configuration for use from pyo3-ffi’s build script.
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here