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.
pub fn linux_kernel_version() -> Result<Version, SemVerError>
Get the version specified by uname -r
.
This treats everything after the major.minor.patch
triple as build metadata.