rustc_target::spec::base::apple

Function parse_version

source
fn parse_version(version: &str) -> Result<(u16, u8, u8), ParseIntError>
Expand description

Parse an OS version triple (SDK version or deployment target).

The size of the returned numbers here are limited by Mach-O’s LC_BUILD_VERSION.