Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 341 Bytes

input.md

File metadata and controls

19 lines (13 loc) · 341 Bytes

This is the source code of the traditional Hello World program.

{hello.play}

println! is a macro (we'll cover them later) that prints text to the console.

A binary can be generated using the rust compiler: rustc.

$ rustc hello.rs

rustc will produce a hello binary that can be executed.

$ ./hello
Hello World!