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§
Structs§
- Build
Config - Maximum
Version Exceeded - Helper to generate an error message when the configured Python version is newer than PyO3’s current supported version.
Enums§
Functions§
- print_
feature_ 🔒cfg - Helper to print a feature cfg with a minimum rust version required.
- print_
feature_ cfgs - Detects features which
pyo3andpyo3-ffidepend upon internally, and prints the appropriatecargo:rustc-cfgandcargo:rustc-check-cfgdirectives 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.