Function string_to_platform_spec

Source
pub fn string_to_platform_spec(s: Option<&str>) -> Result<PlatformSpec>
Expand description

Parse a given triple, the string “current”, or “any”, into a platform.

TODO: This should eventually support JSON specs as well, probably.