Crate crit

Crate crit 

Source
Expand description

crit provides predicates for conveniently managing multiple cross target builds.

Structs§

TargetConfig
TargetConfig models a cross build operation.

Statics§

BINARY_FILE_EXTENSIONS
BINARY_FILE_EXTENSIONS collects potential cargo build binary file extensions.
BUILD_MODES
BUILD_MODES enumerates cargo’s major build modes.
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 during porting.
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 std package, or targets without community supported cross images.
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.
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.