Answers for "rust lang where to start"

0

rust lang start a new project

//Enter in the command line:
--------------------------------------------------
>cargo new <NAME_OF_PROJECT_HERE>

//It will create a new folder with all the basic files. The main.rs file is
//in the src folder
Posted by: Guest on July-26-2020
-1

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
Posted by: Guest on July-24-2020

Browse Popular Code Answers by Language