Rust Tutorial : Environment Setup
from tutorialspoint.com

Installation on Windows
  • an installation of Visual Studio with C++ tools is mandatory to run Rust on Windows
    can use Visual Studio Community
  • download rustup tool for Windows
  • install by double-clicking the downloaded file rustup-init.exe
  • accept the default installation using 1 or the Enter key
  • Rust related files are stored in the folder : C:\Users\{PC}\.cargo\bin
    folder contents are
    • cargo-fmt.exe
    • cargo.exe
    • rls.exe
    • rust-gdb.exe
    • rust-lldb.exe
    • rustc.exe
    • rustdoc.exe
    • rustfmt.exe
    • rustup.exe
  • Cargo is the package manager for Rust
    to verify if cargo is installed
    C:\Users\Admin>cargo -V
  • the compiler for Rust is rustc
    to verify the compiler version
    C:\Users\Admin>rustc -V
Using Tutorials Point Coding Ground for RUST
a Read-Evaluate-Print Loop (REPL) is an easy to use interactive shell to compile and execute computer programs. to compile and execute Rust programs online within the browser, use Tutorialspoint Coding Ground
index