diff options
Diffstat (limited to 'ozone-cli/src/main.rs')
| -rw-r--r-- | ozone-cli/src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ozone-cli/src/main.rs b/ozone-cli/src/main.rs new file mode 100644 index 0000000..b3f91f1 --- /dev/null +++ b/ozone-cli/src/main.rs @@ -0,0 +1,8 @@ +use std::env::consts::{ARCH, OS}; +use sysinfo::System; + +fn main() { + println!("Hello, world!"); + println!("stuff: {:?} {:?} {:?} {:?} {:?}", System::name(), System::os_version(), System::long_os_version(), System::kernel_version(), System::cpu_arch()); + println!("stuff: {:?} {:?} {:?} {}", System::distribution_id(), OS, ARCH, size_of::<*const i32>()); +} |
