Skip to main content

host_platforms

Function host_platforms 

Source
pub fn host_platforms(host: HostOs) -> Vec<NativePlatform>
Expand description

Returns every platform the given host can build.

The order is the build order: the desktop clients first, then the mobile deliverables, so a failure in the desktop client is reported before the mobile toolchains are entered.

§Arguments

  • HostOs - The host operating system.

§Returns

  • Vec<NativePlatform> - The platforms this host builds.