mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Fix and cleanup VSCode task building
This commit is contained in:
parent
6b8b8ff4c5
commit
8846b5cf4a
5 changed files with 85 additions and 72 deletions
|
@ -151,6 +151,7 @@ export async function getRustcId(dir: string): Promise<string> {
|
|||
}
|
||||
|
||||
/** Mirrors `toolchain::cargo()` implementation */
|
||||
// FIXME: The server should provide this
|
||||
export function cargoPath(): Promise<string> {
|
||||
return getPathForExecutable("cargo");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue