pub struct BuildConfigurationInput<'a> {
pub package: &'a str,
pub features: &'a Features,
pub request: &'a SelectionRequest,
pub profile: ResolvedProfile,
pub toolchain: ToolchainSummary,
pub build_flags: ResolvedProfileFlags,
}Expand description
Bundled inputs for BuildConfiguration::resolve.
BuildConfiguration ties together every per-package input the
resolver evaluates (declared features, the requested selection,
and the already-resolved profile / toolchain / build flags).
Threading them through one struct keeps the call signature stable
as new inputs land and stops cabin metadata orchestration from
needing to remember a fixed positional order.
Fields§
§package: &'a strPackage name. Used only to render clear validation errors.
features: &'a FeaturesDeclared [features] table for the package.
request: &'a SelectionRequestCLI / config selection request (features).
profile: ResolvedProfileAlready-resolved profile.
toolchain: ToolchainSummaryAlready-resolved toolchain summary.
build_flags: ResolvedProfileFlagsAlready-resolved per-profile build flags.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BuildConfigurationInput<'a>
impl<'a> RefUnwindSafe for BuildConfigurationInput<'a>
impl<'a> Send for BuildConfigurationInput<'a>
impl<'a> Sync for BuildConfigurationInput<'a>
impl<'a> Unpin for BuildConfigurationInput<'a>
impl<'a> UnsafeUnpin for BuildConfigurationInput<'a>
impl<'a> UnwindSafe for BuildConfigurationInput<'a>
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