pub struct DescriptorCargoRequest {
pub cargo: OsString,
pub wrapper: PathBuf,
pub working_directory: PathBuf,
pub staging_directory: PathBuf,
pub target_directory: PathBuf,
pub source_exclusion_directory: PathBuf,
pub cargo_args: Vec<OsString>,
pub environment: BTreeMap<OsString, OsString>,
}Expand description
One exact descriptor-phase Cargo invocation.
Fields§
§cargo: OsStringCargo executable.
wrapper: PathBufAbsolute cargo-proa/proa executable used as RUSTC_WRAPPER.
working_directory: PathBufAbsolute Cargo working directory.
staging_directory: PathBufFresh absolute staging directory reserved for this invocation. A
cached recovery may substitute the exact marker-owned root named by an
interrupted target journal and write through a fresh child attempt. It
must be a strict descendant of source_exclusion_directory so wrapper
outputs cannot enter package source identity.
target_directory: PathBufExact absolute Cargo target directory reserved for descriptor builds.
The runner owns --target-dir; callers must not repeat it in
cargo_args. Recovery may remove this directory only after validating
the runner-owned marker written here.
source_exclusion_directory: PathBufExact generated subtree excluded from package source closure hashing. The descriptor target must be contained by this path. Linked final compilation receives the same boundary so the coordinate is phase invariant even for custom in-tree Cargo target directories.
cargo_args: Vec<OsString>Cargo arguments, including the subcommand and exact target selection.
The runner owns --message-format and rejects an author-supplied one.
environment: BTreeMap<OsString, OsString>Additional exact environment for both Cargo and build scripts.
Trait Implementations§
Source§impl Clone for DescriptorCargoRequest
impl Clone for DescriptorCargoRequest
Auto Trait Implementations§
impl Freeze for DescriptorCargoRequest
impl RefUnwindSafe for DescriptorCargoRequest
impl Send for DescriptorCargoRequest
impl Sync for DescriptorCargoRequest
impl Unpin for DescriptorCargoRequest
impl UnsafeUnpin for DescriptorCargoRequest
impl UnwindSafe for DescriptorCargoRequest
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