File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -65,29 +65,16 @@ Read ["Installing Rust"] from [The Book].
6565 tools.
6666
6767 ```sh
68+ # Update package mirrors (may be needed if you have a fresh install of MSYS2)
69+ $ pacman -Sy&&pacman -S pacman-mirrors
70+
6871 # Choose one based on platform:
6972 $ pacman -S mingw-w64-i686-toolchain
7073 $ pacman -S mingw-w64-x86_64-toolchain
7174
7275 $ pacman -S base-devel
7376 ```
7477
75- > ***Note:*** If the package install fails during retrieval, you may need to update
76- > `pacman`' s mirrors before attempting to install the ` mingw64` toolchain. An example
77- > of the symptom of this problem would be...
78-
79- > ` ` ` sh
80- > error: failed retrieving file ' mingw-w64-x86_64-libiconv-1.14-4-any.pkg.tar.xz'
81- > from downloads.sourceforge.net : The requested URL returned error: 404
82- > ` ` `
83-
84- > To update the mirrors for pacman, simply run the following commands in your
85- > MSYS2 terminal and retry installing the ` mingw64` toolchain.
86-
87- > ` ` ` sh
88- > $ pacman -Sy&& pacman -S pacman-mirrors
89- > ` ` `
90-
91783. Run `mingw32_shell.bat` or `mingw64_shell.bat` from wherever you installed
9279 MSYS2 (i.e. `C:\msys`), depending on whether you want 32-bit or 64-bit Rust.
9380
You can’t perform that action at this time.
0 commit comments