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 already used to fingerprint resolved inputs.
These facts do not establish successful compilation or bind an external execution. Consumers retain source custody, execution binding 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, before Build adds its owned target directory.
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
Mutably borrows from an owned value. Read more