Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b556e28

Browse files
committedJun 24, 2023
outline x.py alternate invocations to the dev guide
almost no one on windows builds from source unless they're contributing, and `./x.py` just works on most unix systems.
1 parent 69a6373 commit b556e28

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed
 

‎README.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,13 @@ format:
3333
```
3434

3535
This is how the documentation and examples assume you are running `x.py`.
36-
Some alternative ways are:
37-
38-
```sh
39-
# On a Unix shell if you don't have the necessary `python3` command
40-
./x <subcommand> [flags]
41-
42-
# On the Windows Command Prompt (if .py files are configured to run Python)
43-
x.py <subcommand> [flags]
44-
45-
# You can also run Python yourself, e.g.:
46-
python x.py <subcommand> [flags]
47-
```
36+
See the [rustc dev guide][rustcguidebuild] if this does not work on your platform.
4837

4938
More information about `x.py` can be found by running it with the `--help` flag
5039
or reading the [rustc dev guide][rustcguidebuild].
5140

5241
[gettingstarted]: https://rustc-dev-guide.rust-lang.org/getting-started.html
53-
[rustcguidebuild]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html
42+
[rustcguidebuild]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#what-is-xpy
5443

5544
### Dependencies
5645

0 commit comments

Comments
 (0)
Please sign in to comment.