· rust programming

Hello Rust

Install

$ brew search rust
multirust    rust    uncrustify
$ brew install rust

$ rustc --version
rustc 1.10.0
$

hello world

$ vim hello.rs
fn main() {
    println!("Hello Rust!");
}

$ rustc hello.rs
$ ./hello
Hello Rust!
$