pub struct CargoBuildFacts {
pub selection: CargoSelection,
pub target: String,
pub environment: BTreeMap<OsString, OsString>,
pub cargo_identity: Vec<u8>,
pub rustc_identity: Vec<u8>,
}Expand description
Tool and recipe observations from resolved inputs or an observed execution.
These facts alone do not establish successful compilation or bind an external
execution. cargo::execution::execute_cargo binds observations to its own
successful invocation. Consumers retain source custody and provenance
redaction. Environment values and probe bytes may contain secrets; Debug
reports only their sizes. Reading these observations performs no I/O.
Fields§
§selection: CargoSelectionSelected profile, features and lock/network policy.
target: StringSelected compilation target.
environment: BTreeMap<OsString, OsString>Complete selected environment. Cache resolution excludes Build’s owned target-directory override; custom execution retains its exact environment.
cargo_identity: Vec<u8>Exact successful Cargo probe stdout followed by stderr, as fingerprinted.
rustc_identity: Vec<u8>Exact successful compiler probe stdout followed by stderr, as fingerprinted.
Trait Implementations§
Source§impl Clone for CargoBuildFacts
impl Clone for CargoBuildFacts
Source§impl Debug for CargoBuildFacts
impl Debug for CargoBuildFacts
impl Eq for CargoBuildFacts
Source§impl PartialEq for CargoBuildFacts
impl PartialEq for CargoBuildFacts
impl StructuralPartialEq for CargoBuildFacts
Auto Trait Implementations§
impl Freeze for CargoBuildFacts
impl RefUnwindSafe for CargoBuildFacts
impl Send for CargoBuildFacts
impl Sync for CargoBuildFacts
impl Unpin for CargoBuildFacts
impl UnsafeUnpin for CargoBuildFacts
impl UnwindSafe for CargoBuildFacts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.