pub struct ExecutionPlan {
pub blueprint: OsBlueprint,
pub target: Target,
pub toolchain: ToolchainSpec,
pub build: CommandSpec,
pub run: Option<CommandSpec>,
pub package: Option<CommandSpec>,
}Expand description
A deterministic, side-effect free description of how a build could be executed.
The suite intentionally separates:
- Planning:
OsBuilder=>BuildPlan. - Execution intent:
ExecutionPlanner=>ExecutionPlan.
The execution plan is designed for host tooling and CI systems. It does not perform any IO on its own.
Fields§
§blueprint: OsBlueprintOriginal blueprint.
target: TargetTarget derived from planning.
toolchain: ToolchainSpecSuggested Rust toolchain/channel.
build: CommandSpecSuggested build command.
run: Option<CommandSpec>Optional run command (e.g. QEMU).
package: Option<CommandSpec>Optional packaging command.
Trait Implementations§
Source§impl Clone for ExecutionPlan
impl Clone for ExecutionPlan
Source§fn clone(&self) -> ExecutionPlan
fn clone(&self) -> ExecutionPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecutionPlan
impl Debug for ExecutionPlan
Source§impl From<&ExecutionPlan> for ExecutionPlanExport
impl From<&ExecutionPlan> for ExecutionPlanExport
Source§fn from(value: &ExecutionPlan) -> Self
fn from(value: &ExecutionPlan) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecutionPlan
impl PartialEq for ExecutionPlan
impl Eq for ExecutionPlan
impl StructuralPartialEq for ExecutionPlan
Auto Trait Implementations§
impl Freeze for ExecutionPlan
impl RefUnwindSafe for ExecutionPlan
impl Send for ExecutionPlan
impl Sync for ExecutionPlan
impl Unpin for ExecutionPlan
impl UnsafeUnpin for ExecutionPlan
impl UnwindSafe for ExecutionPlan
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