Page 1 of 1

Rust Compiler Setup

Posted: Fri Jun 12, 2020 11:46 am
by jussij
1. Dowload rustup from here: https://www.rust-lang.org/tools/install

2. At the command prompt run the rustup and accept the default options.

3. If install goes as expected the following output should be produced:

Code: Select all

....
stable installed - rustc 1.44.0 (49cae5576 2020-06-01)
Rust is installed now. Great!

To get started you need Cargo's bin directory (%USERPROFILE%.cargo\bin) in your
PATH
environment variable. Future applications will automatically have the
correct environment, but you may need to restart your current shell.
4. Close the current command prompt.

5. Open a new command prompt to refresh the PATH details and test the installation by running this command:

Code: Select all

rustc.exe -version
This should result in the following output:

Code: Select all

c:\>rustc.exe --version
rustc 1.44.0 (49cae5576 2020-06-01)
Cheers Jussi