pub struct FinalCargoRequest {
pub invocation: InvocationId,
pub cargo: OsString,
pub wrapper: PathBuf,
pub working_directory: PathBuf,
pub source_exclusion_directory: PathBuf,
pub target_root: PathBuf,
pub plan_path: PathBuf,
pub cargo_args: Vec<OsString>,
pub environment: BTreeMap<OsString, OsString>,
pub root_unit_fingerprint: SemanticHash,
pub descriptor_units: Vec<ValidatedDescriptorUnit>,
}Expand description
One root-specific final Cargo invocation.
Fields§
§invocation: InvocationIdStable pre-Cargo invocation identity separating roots, features, profiles, and target selections while remaining unchanged by sources.
cargo: OsStringCargo executable.
wrapper: PathBufAbsolute cargo-proa/proa executable used as RUSTC_WRAPPER.
working_directory: PathBufAbsolute Cargo working directory.
source_exclusion_directory: PathBufExact generated subtree excluded from both descriptor and final package source-closure identities.
target_root: PathBufAbsolute parent for wrapper-policy-scoped final target directories.
plan_path: PathBufExact content-addressed plan written by the linker.
cargo_args: Vec<OsString>Cargo arguments including subcommand and target selection.
The runner owns --message-format and --target-dir.
environment: BTreeMap<OsString, OsString>Additional exact build environment.
root_unit_fingerprint: SemanticHashSemantic fingerprint of the root descriptor unit before plan specialization.
descriptor_units: Vec<ValidatedDescriptorUnit>Freshly validated descriptor units authorized for final identity restoration.
Trait Implementations§
Source§impl Clone for FinalCargoRequest
impl Clone for FinalCargoRequest
Auto Trait Implementations§
impl Freeze for FinalCargoRequest
impl RefUnwindSafe for FinalCargoRequest
impl Send for FinalCargoRequest
impl Sync for FinalCargoRequest
impl Unpin for FinalCargoRequest
impl UnsafeUnpin for FinalCargoRequest
impl UnwindSafe for FinalCargoRequest
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more