pub struct BuildPlan {
pub schema_version: u32,
pub generated_by: String,
pub board_yaml: String,
pub sku: String,
pub build_root: String,
pub slices: Vec<BuildSlice>,
pub shared_artefacts: Vec<GeneratedFile>,
pub warnings: Vec<PlanWarning>,
}Expand description
The whole plan — the deserialization target for --emit build-plan.
Fields§
§schema_version: u32Plan schema version; must equal BUILD_PLAN_SCHEMA_VERSION to be consumed.
generated_by: StringTool/script that emitted the plan (e.g. scripts/alp_orchestrate.py).
board_yaml: StringPath to the source board.yaml the plan was derived from.
sku: StringBoard SKU the plan targets.
build_root: StringRoot directory for all build output.
slices: Vec<BuildSlice>One slice per non-off core, sorted by coreId.
Cross-slice generated files (e.g. IPC headers, DTS overlays).
warnings: Vec<PlanWarning>Non-fatal planner notes.
Implementations§
Source§impl BuildPlan
impl BuildPlan
Sourcepub fn all_artefacts(&self) -> Vec<&GeneratedFile>
pub fn all_artefacts(&self) -> Vec<&GeneratedFile>
Every generated file the consumer must materialise, in a deterministic
order: shared artefacts first, then each slice’s config artefacts in
slice order. Pure — the CLI does the byte-writes. The SDK guarantees
these contents match what west alp-build would write itself, so
materialising them cannot drift from the on-disk build.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BuildPlan
impl<'de> Deserialize<'de> for BuildPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for BuildPlan
impl StructuralPartialEq for BuildPlan
Auto Trait Implementations§
impl Freeze for BuildPlan
impl RefUnwindSafe for BuildPlan
impl Send for BuildPlan
impl Sync for BuildPlan
impl Unpin for BuildPlan
impl UnsafeUnpin for BuildPlan
impl UnwindSafe for BuildPlan
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.