summaryrefslogtreecommitdiffstats
path: root/third_party/rust/whatsys/examples/version.rs
blob: 0bc9a16ede8f98f2765fb96433f4272ae017547e (plain)
1
2
3
4
5
fn main() {
    println!("{:?}", whatsys::kernel_version());
    #[cfg(target_os = "windows")]
    println!("{:?}", whatsys::windows_build_number());
}