Skip to main content

split_versioned_target

Function split_versioned_target 

Source
pub fn split_versioned_target(
    target: &str,
) -> Result<(String, Option<GlibcVersion>), String>
Expand description

Splits x86_64-unknown-linux-gnu.2.17 into the Rust triple and the glibc floor. A triple without a numeric .X.Y suffix is returned unchanged.