Skip to content

Commit

Permalink
Make rust-analyzer use x.py (#1141)
Browse files Browse the repository at this point in the history
* make rust-analyzer use x.py

* switch to "python3 x.py" for cross-platform compatibility
  • Loading branch information
juliand665 authored Aug 29, 2022
1 parent 01e1455 commit e3060ef
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
{
"rust-analyzer.rustc.source": "discover"
"rust-analyzer.rustc.source": "discover",
"rust-analyzer.cargo.buildScripts.overrideCommand": [
"python3",
"x.py",
"check",
"--quiet",
"--workspace",
"--message-format=json",
"--all-targets",
],
"rust-analyzer.checkOnSave.overrideCommand": [
"python3",
"x.py",
"check",
"--workspace",
"--message-format=json",
"--all-targets",
],
}

0 comments on commit e3060ef

Please sign in to comment.