Expand description
crit provides predicates for conveniently managing multiple cross target builds.
Structs§
- Crit
- Crit models a multiplatform build operation.
Enums§
- Crit
Error - CritError models bad computer states.
Statics§
- ARTIFACT_
ROOT_ PATH - ARTIFACT_ROOT_PATH denotes the path housing crit internal files.
- BINARY_
FILE_ EXTENSIONS - BINARY_FILE_EXTENSIONS collects potential cargo build binary file extensions.
- BUILD_
MODES - BUILD_MODES enumerates cargo’s major build modes.
- CONFIGURATION_
FILENAME - CONFIGURATION_FILENAME denotes the file path to an optional TOML configuration file, relative to the current working directory.
- CRATE_
FEATURE_ EXCLUSIONS - CRATE_FEATURE_EXCLUSIONS collects development applications generally not intended for release.
- CRIT_
ARTIFACT_ ROOT - CRIT_ARTIFACT_ROOT denotes the directory housing crit internal files.
- CROSS_
DIR_ PATHBUF - CROSS_DIR_PATHBUF denotes the pathbuf housing cross internal files.
- DEFAULT_
FEATURE_ EXCLUSION_ PATTERN - DEFAULT_FEATURE_EXCLUSION_PATTERN matches problematic binary features, such as internal development programs.
- DEFAULT_
TARGET_ EXCLUSION_ PATTERN - DEFAULT_TARGET_EXCLUSION_PATTERN matches problematic target triples,
such as bare metal targets that may lack support for the
stdpackage, or targets without community supported cross images. - EXCLUSION_
FEATURES_ PATTERN_ REPLACE_ TEMPLATE - EXCLUSION_FEATURES_PATTERN_REPLACE_TEMPLATE combines
exclusion_featuresand a pipe (|) delimited feature string to form a pattern matching skippable features. - EXCLUSION_
TARGETS_ PATTERN_ REPLACE_ TEMPLATE - EXCLUSION_TARGETS_PATTERN_REPLACE_TEMPLATE combines
exclusion_targetsand a pipe (|) delimited target string to form a pattern matching skippable targets. - FRINGE_
TARGETS - FRINGE_TARGETS collects Rust platform entries likely to not work out of the box.
- RUSTUP_
TARGET_ PATTERN - RUSTUP_TARGET_PATTERN matches Rust target triples from rustup target list output.
Functions§
- clean
- clean removes:
- clean_
artifact_ root - clean_artifact_root removes CRIT_ARTIFACT_ROOT directory.
- clean_
containers - clean_containers removes leftover cross Docker containers.
- format_
targets - format_targets renders a target table.
- generate_
feature_ exclusion_ pattern - generate_feature_exclusion_pattern builds a feature matching pattern from a collection of features.
- generate_
target_ exclusion_ pattern - generate_target_exclusion_pattern builds a target matching pattern from a collection of targets.
- get_
applications - get_applications queries Cargo.toml for the list of binary application names.