pub fn string_to_platform_spec(s: Option<&str>) -> Result<PlatformSpec>
Parse a given triple, the string “current”, or “any”, into a platform.
TODO: This should eventually support JSON specs as well, probably.