diff options
| author | bors <bors@rust-lang.org> | 2023-12-05 11:11:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-12-05 11:11:43 +0000 |
| commit | ceb4426cd61764d8489c1a243cfc2142cf27f141 (patch) | |
| tree | 73c328d7d14cdea7cedc77d58bcf8d35b699f873 /editors/code/src | |
| parent | 2d66f6df252896cfbd7bd24be6ee0c124369b1b7 (diff) | |
| parent | 9dc38214c01efe22b42e7b3d1b0c6d96d6227a2c (diff) | |
| download | rust-ceb4426cd61764d8489c1a243cfc2142cf27f141.tar.gz rust-ceb4426cd61764d8489c1a243cfc2142cf27f141.zip | |
Auto merge of #16024 - lnicola:debug-workspace-path, r=lnicola
fix: Fix runnable cwd on Windows Fixes #16010
Diffstat (limited to 'editors/code/src')
| -rw-r--r-- | editors/code/src/toolchain.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/toolchain.ts b/editors/code/src/toolchain.ts index 1037e513aa1..a0b34406c1b 100644 --- a/editors/code/src/toolchain.ts +++ b/editors/code/src/toolchain.ts @@ -74,7 +74,7 @@ export class Cargo { artifacts.push({ fileName: message.executable, name: message.target.name, - workspace: message.manifest_path.replace(/\/Cargo\.toml$/, ""), + workspace: path.dirname(message.manifest_path), kind: message.target.kind[0], isTest: message.profile.test, }); |
