Skip to main content

linux_kernel_version

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.