[Rust]Memo

Installation

doc.rust-lang.org

1. Download init.exe from this link and install it
Install Rust - Rust Programming Language

Tips: You may need to install C++ from here
Tool for Visual Studio 2019 - Build Tools for Visual Studio 2019
visualstudio.microsoft.com

2. Code this in main.rs

fn main() {
    println!("Hello, world!");
}

3. Type rustc main.rs then ./main(win: ./main.exe) in the terminal