/rust-tutorial

Rust programming examples

Primary LanguageRustMIT LicenseMIT

Rust-tutorial

Rust programming examples

Installing Rust

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  • Is Rust up to date?
$ rustup update

Compile and run the Rust sample application

$ rustc main.rs 
$ ./main