Expand description
crit provides predicates for conveniently managing multiple cross target builds.
Structs
- BINARY_FILE_EXTENSIONS enumerates potential cargo build binary file extensions.
- BUILD_MODES enumerates cargo’s major build modes.
- DEFAULT_FEATURE_EXCLUSION_PATTERN collects patterns for problematic binary features, such as internal development programs.
- DEFAULT_TARGET_EXCLUSION_PATTERN collects patterns for problematic target triples, such as bare metal targets that may lack support for the
stdpackage, or targets without community supported cross images. - RUSTUP_TARGET_PATTERN matches Rust target triples from rustup target list output.
- TargetConfig models a cross build operation.
Statics
- CRIT_ARTIFACT_ROOT denotes the directory housing crit internal files during porting.
Functions
- clean removes:
- clean_artifact_root removes CRIT_ARTIFACT_ROOT directory.
- clean_containers removes leftover cross Docker containers.
- format_targets renders a target table.
- get_applications queries Cargo.toml for the list of binary application names.
- get_targets queries rustup for the list of available Rust target triples.