Fix and cleanup VSCode task building

This commit is contained in:
Lukas Wirth 2024-06-17 14:06:01 +02:00
parent 6b8b8ff4c5
commit 8846b5cf4a
5 changed files with 85 additions and 72 deletions

View file

@ -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");
}