mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Auto merge of #16024 - lnicola:debug-workspace-path, r=lnicola
fix: Fix runnable cwd on Windows Fixes #16010
This commit is contained in:
commit
ceb4426cd6
@ -74,7 +74,7 @@ export class Cargo {
|
|||||||
artifacts.push({
|
artifacts.push({
|
||||||
fileName: message.executable,
|
fileName: message.executable,
|
||||||
name: message.target.name,
|
name: message.target.name,
|
||||||
workspace: message.manifest_path.replace(/\/Cargo\.toml$/, ""),
|
workspace: path.dirname(message.manifest_path),
|
||||||
kind: message.target.kind[0],
|
kind: message.target.kind[0],
|
||||||
isTest: message.profile.test,
|
isTest: message.profile.test,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user