Skip to content

Commit

Permalink
Add linux_os_release to test/src/main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
JOT85 authored and FillZpp committed Jan 7, 2021
1 parent ccc34bd commit 87029bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ fn main() {
let t = boottime().unwrap();
println!("boottime {} sec, {} usec", t.tv_sec, t.tv_usec);
}
#[cfg(not(target_os = "windows"))]
println!("/etc/os-release: {:?}", linux_os_release().unwrap());
}

0 comments on commit 87029bf

Please sign in to comment.