diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2022-04-09 01:31:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-09 17:31:23 +0900 |
| commit | 21fb9308bbd63484e246297c8f815d81e86c4ce7 (patch) | |
| tree | 37876313b36a7559b6e3e9a61ba2a0ff95a7d108 /src/doc/rustc-dev-guide | |
| parent | 690de884e2e7124f0cb4a0f241ff2cb6b5b5e239 (diff) | |
| download | rust-21fb9308bbd63484e246297c8f815d81e86c4ce7.tar.gz rust-21fb9308bbd63484e246297c8f815d81e86c4ce7.zip | |
r-a: Use `python3 x.py` instead of `./x.py` (#1335)
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/building/suggested.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md index 14e0410ded1..a6ff65db3c3 100644 --- a/src/doc/rustc-dev-guide/src/building/suggested.md +++ b/src/doc/rustc-dev-guide/src/building/suggested.md @@ -22,12 +22,13 @@ You can also install the hook as a step of running `./x.py setup`! a file. By default, `rust-analyzer` runs the `cargo check` and `rustfmt` commands, but you can override these commands to use more adapted versions of these tools when hacking on `rustc`. For example, for Visual Studio Code, -you can write: <!-- date: 2021-09 --><!-- the date comment is for the edition below --> +you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition below --> ```JSON { "rust-analyzer.checkOnSave.overrideCommand": [ - "./x.py", + "python3", + "x.py", "check", "--json-output" ], |
