Skip to main content

is_platform_compatible

Function is_platform_compatible 

Source
pub fn is_platform_compatible(
    current_platform: &str,
    allowed_platforms: &[String],
) -> bool
Expand description

Checks if a target platform is compatible with a list of allowed platforms.