Skip to main content

resolve_native_plan

Function resolve_native_plan 

Source
pub fn resolve_native_plan(
    requested: &[NativePlatform],
    host: HostOs,
) -> Result<NativePlan, EuvError>
Expand description

Resolves the native build plan for the requested platforms.

Every requested platform that this host cannot build is reported as unsupported, and the plan is only produced when nothing requested is out of reach: an incompatible request must fail before any build starts rather than silently skipping a deliverable.

§Arguments

  • &[NativePlatform] - The requested platforms.
  • HostOs - The host to resolve against.

§Returns

  • Result<NativePlan, EuvError> - The resolved plan, or an error naming every platform that cannot be built here.