rust-programming-language-studying

Studying the Rust Programming Language

Rust Logo

Following the Rust Book, available at https://doc.rust-lang.org/book/.

There is also a Microsoft Learn course available at https://learn.microsoft.com/en-us/training/modules/rust-introduction/1-introduction

License: MIT

Setup

Follow the instructions at https://www.rust-lang.org/tools/install to install Rust.

Lessons learned

Setup

When setting up the rust-analyzer and having my projects in a projects folder I needed to add another Cargo.toml file in the root, next to the projects folder. This file should contain the list of all the projects in the folder I want the rust-analyzer to be able to find.

###

Use the following to set envionment variables when using cargo-watch:

RUST_BACKTRACE=1 cargo watch -x run

Building

Rust