Skip to content

Commit 21fb930

Browse files
authored
r-a: Use python3 x.py instead of ./x.py (rust-lang#1335)
1 parent 690de88 commit 21fb930

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/rustc-dev-guide/src/building/suggested.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ You can also install the hook as a step of running `./x.py setup`!
2222
a file. By default, `rust-analyzer` runs the `cargo check` and `rustfmt`
2323
commands, but you can override these commands to use more adapted versions
2424
of these tools when hacking on `rustc`. For example, for Visual Studio Code,
25-
you can write: <!-- date: 2021-09 --><!-- the date comment is for the edition below -->
25+
you can write: <!-- date: 2022-04 --><!-- the date comment is for the edition below -->
2626

2727
```JSON
2828
{
2929
"rust-analyzer.checkOnSave.overrideCommand": [
30-
"./x.py",
30+
"python3",
31+
"x.py",
3132
"check",
3233
"--json-output"
3334
],

0 commit comments

Comments
 (0)