README
Compile with rust compiler:
$ rustc src/main.rs
This will generate a binary executable, main
, that we can run:
$ ./main
Compile with Cargo (preferred):
$ cargo build
This will generate a bunch of files in ./target
, but we can our program simply:
$ cargo run