| 2103 | } |
| 2104 | |
| 2105 | fn execute_system_cmd(){ |
| 2106 | println!("\n======================================================================"); |
| 2107 | println!("* SYSTEM COMMAND EXECUTION"); |
| 2108 | |
| 2109 | use std::process::Command; |
| 2110 | let rust_version_output = Command::new("rustc").arg("--version").output().expect("Failed to execute rustc"); |
| 2111 | let rust_version = String::from_utf8_lossy(&rust_version_output.stdout); |
| 2112 | println!("Rust version: {}", rust_version); |
| 2113 | } |
| 2114 | |
| 2115 | fn tests(){ |
| 2116 | println!("\n======================================================================"); |