pub struct BuildToolProbe {
pub west: bool,
pub cmake: bool,
pub ninja: bool,
pub bitbake: bool,
pub zephyr_sdk: bool,
pub bmaptool: bool,
pub dd: bool,
pub is_linux: bool,
}Expand description
Host build-tool presence (probed by the caller; kept IO-free here).
Fields§
§west: boolwest is on PATH (Zephyr build driver).
cmake: boolcmake is on PATH (Zephyr/baremetal build generator).
ninja: boolninja is on PATH (Zephyr build backend).
bitbake: boolbitbake is on PATH (Yocto build driver).
zephyr_sdk: boolZephyr SDK toolchain detected (via env / install dir, not PATH).
bmaptool: boolbmaptool — the preferred Yocto .wic flasher (sparse-aware).
dd: booldd — the Yocto .wic flash fallback when bmaptool is absent.
is_linux: boolHost is Linux (gates Yocto builds, which are Linux-only).
Trait Implementations§
Source§impl Clone for BuildToolProbe
impl Clone for BuildToolProbe
Source§fn clone(&self) -> BuildToolProbe
fn clone(&self) -> BuildToolProbe
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 moreimpl Copy for BuildToolProbe
Auto Trait Implementations§
impl Freeze for BuildToolProbe
impl RefUnwindSafe for BuildToolProbe
impl Send for BuildToolProbe
impl Sync for BuildToolProbe
impl Unpin for BuildToolProbe
impl UnsafeUnpin for BuildToolProbe
impl UnwindSafe for BuildToolProbe
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