Function linux_kernel_version

Source
pub fn linux_kernel_version() -> Result<Version, SemVerError>
Expand description

Get the version specified by uname -r.

This treats everything after the major.minor.patch triple as build metadata.