just run a rust program 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 run a program
find your main.rs file in the source directory using the command line
Type "main" (without the quotation marks) into the terminal and press enter