(path_to_cargo_folder: &Path)
| 156 | } |
| 157 | |
| 158 | pub fn compile(path_to_cargo_folder: &Path) { |
| 159 | println!("[+] Starting to compile your malware.."); |
| 160 | run_compiler(path_to_cargo_folder).unwrap_or_else(|err| { |
| 161 | panic!("Compilation failed: {:?}", err); |
| 162 | }); |
| 163 | println!("[+] Successfully compiled! Rust code and compiled binary are in the 'shared' folder"); |
| 164 | } |