Make sure you have rust installed. Click here to install Rust
Step 1: Create an new package
cargo new [name]
cargo new maldev
Import the code you want to execute or build it.
Before that, make sure you have imported the winapi package.
[COPY IT]
Build the project!
You can see the build file in the Target -> Release path.
Finally, executing it. Running the calc.exe shellcode!