Expand description
Private exports used in PyO3βs build.rs
Please donβt use these - they could change at any time.
Re-exportsΒ§
use crate::errors::Result;πuse crate::impl_::make_cross_compile_config;πuse crate::impl_::make_interpreter_config;π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;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;use super::*;π
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.