about summary refs log tree commit diff
path: root/editors/code/src/commands.ts
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2022-10-14 09:28:44 +0200
committerGitHub <noreply@github.com>2022-10-14 09:28:44 +0200
commit55fdcbe339a002099c17ba545fb593163fef2011 (patch)
treea04ca7b7d517968f81de35cec88158202596e5ac /editors/code/src/commands.ts
parent36a70b7435c48837018c71576d7bb4e8f763f501 (diff)
downloadrust-55fdcbe339a002099c17ba545fb593163fef2011.tar.gz
rust-55fdcbe339a002099c17ba545fb593163fef2011.zip
Revert "fix: in VSCode, correctly resolve relative paths to errors"
Diffstat (limited to 'editors/code/src/commands.ts')
-rw-r--r--editors/code/src/commands.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index 6b10073aa86..b9ad525e361 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -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;
-}