Skip to content

Commit a00ab04

Browse files
Invoke dist with --install
1 parent babcfb9 commit a00ab04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Read ["Installing Rust"] from [The Book].
3535
3. Build and install:
3636

3737
```sh
38-
$ ./x.py build && sudo ./x.py dist
38+
$ ./x.py build && sudo ./x.py dist --install
3939
$ make && sudo make install
4040
```
4141

@@ -44,7 +44,7 @@ Read ["Installing Rust"] from [The Book].
4444
> adjusting the `prefix` option under `[install]`. Various other options are
4545
> also supported, and are documented in the config file.
4646

47-
When complete, `sudo ./x.py dist` will place several programs into
47+
When complete, `sudo ./x.py dist --install` will place several programs into
4848
`/usr/local/bin`: `rustc`, the Rust compiler, and `rustdoc`, the
4949
API-documentation tool. This install does not include [Cargo],
5050
Rust's package manager, which you may also want to build.
@@ -98,7 +98,7 @@ build.
9898
4. Navigate to Rust's source code (or clone it), then build it:
9999

100100
```sh
101-
$ ./x.py build && ./x.py dist
101+
$ ./x.py build && ./x.py dist --install
102102
```
103103

104104
#### MSVC
@@ -116,7 +116,7 @@ With these dependencies installed, you can build the compiler with:
116116
If you're running inside of an msys shell, however, you can run:
117117

118118
```sh
119-
$ ./x.py build --build=x86_64-pc-windows-msvc && ./x.py dist
119+
$ ./x.py build --build=x86_64-pc-windows-msvc && ./x.py dist --install
120120
```
121121

122122
Currently building Rust only works with some known versions of Visual Studio. If

0 commit comments

Comments
 (0)