Rust Hello world program


This is a shell session showing how to create a "Hello world" program and run it with Cargo:

$ cargo new hello --bin
$ cd hello
$ cargo run
   Compiling hello v0.1.0 (file:///home/rust/hello)
     Running `target/debug/hello`
Hello, world!

After doing this, you can edit the program by opening src/ in a text editor.