]>
git.proxmox.com Git - rustc.git/blob - vendor/sysinfo/tests/uptime.rs
1 // Take a look at the license at the top of the repository in the LICENSE file.
5 use sysinfo
::SystemExt
;
7 if sysinfo
::System
::IS_SUPPORTED
{
8 let mut s
= sysinfo
::System
::new();
10 assert
!(s
.uptime() != 0);