From 664d3c70c0cc662ca91120ff0096713a912d0af1 Mon Sep 17 00:00:00 2001 From: Noah Lev Date: Sat, 9 Apr 2022 01:31:23 -0700 Subject: [PATCH] r-a: Use `python3 x.py` instead of `./x.py` (#1335) --- src/building/suggested.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/building/suggested.md b/src/building/suggested.md index 14e0410d..a6ff65db 100644 --- a/src/building/suggested.md +++ b/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: +you can write: ```JSON { "rust-analyzer.checkOnSave.overrideCommand": [ - "./x.py", + "python3", + "x.py", "check", "--json-output" ],