Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ RUSTFLAGS
Rustonomicon
rustfix
rustfmt
Rustlang
RustLangES
rustup
sampleproject
Expand Down Expand Up @@ -632,6 +633,7 @@ WebSocket
whitespace
wildcard
wildcards
winget
Wirth
workflow
workspace
Expand Down
16 changes: 12 additions & 4 deletions src/ch01-01-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,18 @@ the `build-essential` package.
### Installing `rustup` on Windows

On Windows, go to [https://www.rust-lang.org/tools/install][install]<!-- ignore
--> and follow the instructions for installing Rust. At some point in the
installation, you’ll be prompted to install Visual Studio. This provides a
linker and the native libraries needed to compile programs. If you need more
help with this step, see
--> and follow the instructions for installing Rust.

Alternatively, you can install Rust using winget (Windows Package Manager) by running
the following command in PowerShell:

```powershell
> winget install --id Rustlang.Rustup --exact --source winget
```

At some point in the installation, you’ll be prompted to install Visual Studio.
This provides a linker and the native libraries needed to compile programs. If
you need more help with this step, see
[https://rust-lang.github.io/rustup/installation/windows-msvc.html][msvc]<!--
ignore -->.

Expand Down