pub struct BuildSlice {
pub core_id: String,
pub backend: Backend,
pub build_dir: String,
pub config_artefacts: Vec<GeneratedFile>,
pub command: Option<ToolStep>,
pub env: BTreeMap<String, String>,
}Expand description
One build slice — a single non-off core. Lean by contract (ADR 0014): the
command already encodes the board/app, so the consumer needs only what it
runs + writes, not the planner’s intermediate fields.
Fields§
§core_id: StringIdentifier of the core this slice builds (e.g. m55_hp).
backend: BackendBuild backend driving this slice.
build_dir: StringOutput directory for this slice’s build.
config_artefacts: Vec<GeneratedFile>Per-slice config files to materialise before running command.
command: Option<ToolStep>None when the planner cannot build this core yet (paired with a
no-command warning); the slice is reported, never dropped.
env: BTreeMap<String, String>Environment overrides applied when running command.
Trait Implementations§
Source§impl Clone for BuildSlice
impl Clone for BuildSlice
Source§fn clone(&self) -> BuildSlice
fn clone(&self) -> BuildSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BuildSlice
impl Debug for BuildSlice
Source§impl<'de> Deserialize<'de> for BuildSlice
impl<'de> Deserialize<'de> for BuildSlice
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BuildSlice
Source§impl PartialEq for BuildSlice
impl PartialEq for BuildSlice
Source§fn eq(&self, other: &BuildSlice) -> bool
fn eq(&self, other: &BuildSlice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BuildSlice
impl Serialize for BuildSlice
impl StructuralPartialEq for BuildSlice
Auto Trait Implementations§
impl Freeze for BuildSlice
impl RefUnwindSafe for BuildSlice
impl Send for BuildSlice
impl Sync for BuildSlice
impl Unpin for BuildSlice
impl UnsafeUnpin for BuildSlice
impl UnwindSafe for BuildSlice
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
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
Compare self to
key and return true if they are equal.