mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 03:14:30 +00:00
Fix Run lens.
This commit is contained in:
parent
02f7b5d7ab
commit
b91fa7494e
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ export function createTask(runnable: ra.Runnable): vscode.Task {
|
|||
switch (runnable.kind) {
|
||||
case "cargo": command = toolchain.getPathForExecutable("cargo");
|
||||
}
|
||||
const args = runnable.args.cargoArgs;
|
||||
const args = [...runnable.args.cargoArgs]; // should be a copy!
|
||||
if (runnable.args.executableArgs.length > 0) {
|
||||
args.push('--', ...runnable.args.executableArgs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue