Expand description
crit provides predicates for conveniently managing multiple cross target builds.
Structs§
- BINARY_
FILE_ EXTENSIONS - BINARY_FILE_EXTENSIONS enumerates potential cargo build binary file extensions.
- BUILD_
MODES - BUILD_MODES enumerates cargo’s major build modes.
- DEFAULT_
FEATURE_ EXCLUSION_ PATTERN - DEFAULT_FEATURE_EXCLUSION_PATTERN collects patterns for problematic binary features, such as internal development programs.
- DEFAULT_
TARGET_ EXCLUSION_ PATTERN - DEFAULT_TARGET_EXCLUSION_PATTERN collects patterns for problematic target triples,
such as bare metal targets that may lack support for the
std
package, or targets without community supported cross images. - RUSTUP_
TARGET_ PATTERN - RUSTUP_TARGET_PATTERN matches Rust target triples from rustup target list output.
- Target
Config - TargetConfig models a cross build operation.
Statics§
- CRIT_
ARTIFACT_ ROOT - CRIT_ARTIFACT_ROOT denotes the directory housing crit internal files during porting.
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.
- get_
applications - get_applications queries Cargo.toml for the list of binary application names.
- get_
targets - get_targets queries rustup for the list of available Rust target triples.