Hello World!

1. Make a Project Directory

$ mkdir hello_world && cd $_

2. edit a main.rs as

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

3. use rustc

$ rustc main.rs
$ ls -l
total 3752
-rwxrwxr-x 1 alexlai alexlai 3834192 Jun 19 14:08 main
-rw-rw-r-- 1 alexlai alexlai      45 Jun 19 14:06 main.rs
$ ./main
Hello, world!