GitHunt
AL

Aligorith/rust_first_testbed

First testbed for playing around with Rust

First test app to start learning Rust

Notes on Using Rust - Compiling/Running

  • Compile the code using
    $ cargo build

  • Compile & run the code using
    $ cargo run

  • To enable backtrace support (useful for figuring out where the program crashed)
    set the env var before running the code via cargo

    $ set RUST_BACKTRACE=1

  • This project was created by doing
    $ cargo new myapp --bin

    • "--bin " says that the project will be a standalone binary (not a library)
    • "cargo new" initialises the repo (including all the git stuff)

Languages

Rust100.0%

Contributors

Created February 5, 2017
Updated March 1, 2018
Aligorith/rust_first_testbed | GitHunt