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§
- Partial
Target - 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
configuredtargets into(buildable, skipped)for the given host triple, per the--host-targetsrule. - host_
is_ apple truewhen the host triple is an Apple/Darwin host (and can therefore build Apple targets in addition to everything else).- host_
is_ windows truewhen 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-targetsskips configured targets, naming the host OS, the count, and — grouped by reason — which triples were skipped and why. ReturnsNonewhen nothing was skipped. - host_
targets_ skip_ reasons - Group
skippedtriples 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 upProcessEnvSource; tests inject aMapEnvSourceto drive the env-var branches without mutating the process env. - suggest_
runner - Suggest a GitHub Actions runner for a given OS.