// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
const target = vscode.workspace.workspaceFolders![0]; // safe, see main activate()
const cargoTask = await tasks.buildCargoTask(target, definition, runnable.label, args, config.cargoRunner, true);
+
cargoTask.presentationOptions.clear = true;
+ // Sadly, this doesn't prevent focus stealing if the terminal is currently
+ // hidden, and will become revealed due to task exucution.
+ cargoTask.presentationOptions.focus = false;
return cargoTask;
}