MCPcopy Create free account
hub / github.com/Nariod/RustPacker / compile

Function compile

src/compiler.rs:158–164  ·  view source on GitHub ↗
(path_to_cargo_folder: &Path)

Source from the content-addressed store, hash-verified

156}
157
158pub 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}

Callers 1

mainFunction · 0.85

Calls 1

run_compilerFunction · 0.85

Tested by

no test coverage detected