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.
ยงErrors
Returns a message when a numeric suffix follows a triple that does not end
in -gnu, since only glibc targets take a glibc floor.