pub struct CargoOptions {
pub release: bool,
pub offline: bool,
}Expand description
How cargo is invoked for every Rust artifact the pipeline builds.
The firmware, TA, and application are three separate cargo projects; these are the flags that must agree across all of them, carried as one value so a caller cannot set them inconsistently.
Fields§
§release: boolBuild in release mode.
offline: boolPass --offline, restricting cargo to its local registry cache. A build
that has not been preceded by fetch will fail rather than reach the
network, which is the point: it makes the missing dependency loud.
Trait Implementations§
Source§impl Clone for CargoOptions
impl Clone for CargoOptions
impl Copy for CargoOptions
Source§impl Debug for CargoOptions
impl Debug for CargoOptions
Source§impl Default for CargoOptions
impl Default for CargoOptions
impl Eq for CargoOptions
Source§impl PartialEq for CargoOptions
impl PartialEq for CargoOptions
impl StructuralPartialEq for CargoOptions
Auto Trait Implementations§
impl Freeze for CargoOptions
impl RefUnwindSafe for CargoOptions
impl Send for CargoOptions
impl Sync for CargoOptions
impl Unpin for CargoOptions
impl UnsafeUnpin for CargoOptions
impl UnwindSafe for CargoOptions
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,
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.