Skip to main content

Module partial

Module partial 

Source
Expand description

Partial build target resolution for split/merge CI fan-out.

Partial-build target resolution — resolves which build targets to include when running in split mode.

Enums§

PartialTarget
A resolved partial build target filter.

Functions§

detect_host_target
Detect the host target triple via rustc -vV.
detect_rustc_version
Detect the rustc release version string via rustc -vV.
find_runtime_target
Best-effort host->triple fuzzy matcher for --single-target.
host_buildable_targets
Partition configured targets into (buildable, skipped) for the given host triple, per the --host-targets rule.
host_is_apple
true when the host triple is an Apple/Darwin host (and can therefore build Apple targets in addition to everything else).
host_is_windows
true when the host triple is a Windows host (and can therefore build windows-msvc targets in addition to everything else).
host_targets_skip_message
Render the single loud-log line emitted when --host-targets skips configured targets, naming the host OS, the count, and — grouped by reason — which triples were skipped and why. Returns None when nothing was skipped.
host_targets_skip_reasons
Group skipped triples by their host constraint and render <triples> (<reason>) clauses joined by ; , preserving the apple → windows order so the message is deterministic. Each triple is attributed to the constraint that caused it to be skipped.
resolve_host_target
Process-env form of resolve_host_target_with_env.
resolve_host_target_with_env
Resolve the effective host target triple for --single-target.
resolve_partial_target
Resolve the partial build target from environment variables and config.
resolve_partial_target_with_env
Env-injectable form of resolve_partial_target. Production wires up ProcessEnvSource; tests inject a MapEnvSource to drive the env-var branches without mutating the process env.
suggest_runner
Suggest a GitHub Actions runner for a given OS.