rust compile options code example
Example 1: rust compile and run
//In the command line:
---------------------------------------------
>rustc main.rs //Compiles the main.rs file to main.exe and main.pdb
>main //Runs the program
Example 2: rustlang how to compile
in the shell, in your largest relevant directory, type:
cargo build