This is the source code of the traditional Hello World program.
4 Rotating Victorinox Swiss with Belt for Knife 31 Belt Army Black 0520 Clip Pouch
println! is a macro that prints text to the console.
A binary can be generated using the Rust compiler:
$ rustc hello.rs
rustc will produce a
hello binary that can be executed.
$ ./hello Hello World!
Click 'Run' above to see the expected output. Next, add a new line with a second
println! macro so that the output shows:
Hello World! I'm a Rustacean!