Struct pyo3_build_config::BuildFlags
source · Expand description
A list of python interpreter compile-time preprocessor defines that
we will pick up and pass to rustc via --cfg=py_sys_config={varname}
;
this allows using them conditional cfg attributes in the .rs files, so
#[cfg(py_sys_config="{varname}")]
is the equivalent of #ifdef {varname}
in C.
see Misc/SpecialBuilds.txt in the python source for what these mean.
Tuple Fields§
§0: HashSet<BuildFlag>
Implementations§
source§impl BuildFlags
impl BuildFlags
Trait Implementations§
source§impl Clone for BuildFlags
impl Clone for BuildFlags
source§fn clone(&self) -> BuildFlags
fn clone(&self) -> BuildFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BuildFlags
impl Default for BuildFlags
source§fn default() -> BuildFlags
fn default() -> BuildFlags
Returns the “default value” for a type. Read more