File tree 1 file changed +3
-16
lines changed
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].
65
65
tools.
66
66
67
67
```sh
68
+ # Update package mirrors (may be needed if you have a fresh install of MSYS2)
69
+ $ pacman -Sy&&pacman -S pacman-mirrors
70
+
68
71
# Choose one based on platform:
69
72
$ pacman -S mingw-w64-i686-toolchain
70
73
$ pacman -S mingw-w64-x86_64-toolchain
71
74
72
75
$ pacman -S base-devel
73
76
```
74
77
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
-
91
78
3. Run `mingw32_shell.bat` or `mingw64_shell.bat` from wherever you installed
92
79
MSYS2 (i.e. `C:\msys`), depending on whether you want 32-bit or 64-bit Rust.
93
80
You can’t perform that action at this time.
0 commit comments