mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-23 11:54:25 +00:00
Revert "fix: in VSCode, correctly resolve relative paths to errors"
This commit is contained in:
parent
36a70b7435
commit
55fdcbe339
6 changed files with 1 additions and 21 deletions
|
@ -842,7 +842,6 @@ export function run(ctx: Ctx): Cmd {
|
|||
item.detail = "rerun";
|
||||
prevRunnable = item;
|
||||
const task = await createTask(item.runnable, ctx.config);
|
||||
ctx.cargoWorkspaceRootForCurrentRun = item.cargoWorkspaceRoot;
|
||||
return await vscode.tasks.executeTask(task);
|
||||
};
|
||||
}
|
||||
|
@ -947,6 +946,3 @@ export function linkToCommand(ctx: Ctx): Cmd {
|
|||
}
|
||||
};
|
||||
}
|
||||
export function getCargoWorkspaceDir(ctx: Ctx): Cmd {
|
||||
return async () => ctx.cargoWorkspaceRootForCurrentRun;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue