We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d66f6d commit e0c2754Copy full SHA for e0c2754
editors/code/src/toolchain.ts
@@ -30,7 +30,7 @@ export class Cargo {
30
readonly rootFolder: string,
31
readonly output: vscode.OutputChannel,
32
readonly env: Record<string, string>,
33
- ) {}
+ ) { }
34
35
// Made public for testing purposes
36
static artifactSpec(args: readonly string[]): ArtifactSpec {
@@ -74,7 +74,7 @@ export class Cargo {
74
artifacts.push({
75
fileName: message.executable,
76
name: message.target.name,
77
- workspace: message.manifest_path.replace(/\/Cargo\.toml$/, ""),
+ workspace: path.dirname(message.manifest_path),
78
kind: message.target.kind[0],
79
isTest: message.profile.test,
80
});
0 commit comments