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 be9b060 commit a233346Copy full SHA for a233346
editors/code/src/cargo.ts
@@ -48,6 +48,10 @@ export class Cargo {
48
49
async executableFromArgs(args: readonly string[]): Promise<string> {
50
const cargoArgs = [...args, "--message-format=json"];
51
+ if( cargoArgs[0] == "run" ) {
52
+ // a runnable from the quick pick.
53
+ cargoArgs[0] = "build";
54
+ }
55
56
const artifacts = await this.artifactsFromArgs(cargoArgs);
57
0 commit comments