Skip to content

Taha-Sardar/rust-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-learning

Learning Rust 101

How to run or compile a program

# Traverse into the directory
cd <add_directory_name>

# Compile the program using the following command
rustc main.rs

# Run the program using the following command
./main

learnings

  1. The ! calls a rust macro - not a function
  2. In order to compile the programme - rustc main.rs
  3. To run the programme - ./main

About

Learning Rust 101

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages