pub struct Crit {
pub debug: Option<bool>,
pub banner: Option<String>,
pub rustflags: Option<BTreeMap<String, String>>,
pub feature_excludes: Option<Vec<String>>,
pub cross_args: Option<Vec<String>>,
pub arch: Vec<String>,
pub vendor: Vec<String>,
pub os: Vec<String>,
pub abi: Vec<String>,
pub target_excludes: Option<Vec<String>>,
pub binary_extensions: Option<Vec<String>>,
/* private fields */
}Expand description
Crit models a multiplatform build operation.
Fields§
§debug: Option<bool>debug enables additional logging.
banner denotes an optional parent directory prefix (e.g. “hello-1.0”).
rustflags: Option<BTreeMap<String, String>>rustflags maps target triple patterns to custom RUSTFLAGS settings (default: $RUSTFLAGS).
feature_excludes: Option<Vec<String>>feature_excludes skips matching features.
cross_args: Option<Vec<String>>cross_args forwards additional flags to cross.
arch: Vec<String>arch collects enabled chipets.
vendor: Vec<String>vendor collects enabled vendors.
os: Vec<String>os collects enabled operating systems.
abi: Vec<String>abi collects enabled chipset/libc variants.
target_excludes: Option<Vec<String>>target_excludes skips targets.
binary_extensions: Option<Vec<String>>binary_extensions selects file extensions to collate (default: DEFAULT_BINARY_EXTENSIONS).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Crit
impl<'de> Deserialize<'de> for Crit
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
Auto Trait Implementations§
impl Freeze for Crit
impl RefUnwindSafe for Crit
impl Send for Crit
impl Sync for Crit
impl Unpin for Crit
impl UnsafeUnpin for Crit
impl UnwindSafe for Crit
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