fix
This commit is contained in:
parent
b41edcb693
commit
fb4d801972
@ -179,7 +179,7 @@ pub fn c_ascii(x: &str) {
|
|||||||
println!("total memory: {} bytes", sys.total_memory());
|
println!("total memory: {} bytes", sys.total_memory());
|
||||||
println!("System name: {:?}", System::name().unwrap());
|
println!("System name: {:?}", System::name().unwrap());
|
||||||
println!("System kernel version: {:?}", System::kernel_version().unwrap());
|
println!("System kernel version: {:?}", System::kernel_version().unwrap());
|
||||||
println!("System OS version: {:?}", System::os_version().unwrap());
|
//println!("System OS version: {:?}", System::os_version().unwrap());
|
||||||
println!("System host name: {:?}", System::host_name().unwrap());
|
println!("System host name: {:?}", System::host_name().unwrap());
|
||||||
println!("NB CPUs: {}", sys.cpus().len());
|
println!("NB CPUs: {}", sys.cpus().len());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user