example-hello-world

README - example-rust-hello-world

Simple “Hello World!” example using the ‘Rust’ programming language

Details on installation and setup are available on the official Rust website - https://www.rust-lang.org/learn/get-started

Build Instructions

Rust is built using the cargo command-line tool and the following steps can be followed to create from scratch.

  1. Generate a new project - create a TOML file.
    $ cargo new helloworld
    

    Or

    $ mkdir helloworld
    $ cd helloworld
    $ cargo init
    
  2. Build the project
    $ cargo build
    
  3. Run the executable
    $ cargo run