Skip to content

Commit

Permalink
vscode: use buck for rust-analyzer settings
Browse files Browse the repository at this point in the history
  • Loading branch information
thoughtpolice committed Aug 27, 2024
1 parent e4832c5 commit 4a0cfcc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,15 @@
"BUILD": "starlark",
"PACKAGE": "starlark",
},

"rust-analyzer.workspace.discoverConfig": {
"command": [
"rust-project",
"develop-json",
"--sysroot-mode=rustc",
"{arg}"
],
"progressLabel": "rust-analyzer[buck2]",
"filesToWatch": ["BUILD", "PACKAGE"]
}
}

0 comments on commit 4a0cfcc

Please sign in to comment.