Skip to main content

host_supports

Function host_supports 

Source
pub fn host_supports(host: HostOs, platform: NativePlatform) -> bool
Expand description

Reports whether a host can build a platform.

§Arguments

  • HostOs - The host operating system.
  • NativePlatform - The platform to test.

§Returns

  • bool - Whether the host can build the platform.