Skip to content

Commit 664d3c7

Browse files
authored
r-a: Use python3 x.py instead of ./x.py (#1335)
1 parent f5f6b4f commit 664d3c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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)