forked from DGNum/colmena
Target stable toolchain
This commit is contained in:
parent
9a588815c8
commit
9f4d5a2221
8 changed files with 11 additions and 45 deletions
|
@ -131,7 +131,7 @@ pub async fn run(_global_args: &ArgMatches<'_>, local_args: &ArgMatches<'_>) {
|
|||
let progress = Arc::new(progress);
|
||||
let command: Arc<Vec<String>> = Arc::new(local_args.values_of("command").unwrap().map(|s| s.to_string()).collect());
|
||||
|
||||
progress.run(async move |progress| {
|
||||
progress.run(|progress| async move {
|
||||
let mut futures = Vec::new();
|
||||
|
||||
for (name, host) in hosts.drain() {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#![feature(async_closure)]
|
||||
|
||||
use std::env;
|
||||
use clap::{App, AppSettings, Arg};
|
||||
|
||||
|
|
|
@ -261,7 +261,7 @@ impl Deployment {
|
|||
|
||||
{
|
||||
let arc_self = self.clone();
|
||||
progress.run(async move |progress| {
|
||||
progress.run(|progress| async move {
|
||||
let mut futures = Vec::new();
|
||||
|
||||
for node in self.target_names.iter() {
|
||||
|
@ -324,7 +324,7 @@ impl Deployment {
|
|||
let arc_self = self.clone();
|
||||
let eval_limit = arc_self.clone().eval_limit();
|
||||
|
||||
progress.run(async move |progress| {
|
||||
progress.run(|progress| async move {
|
||||
let mut futures = Vec::new();
|
||||
|
||||
for chunk in self.target_names.chunks(eval_limit) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue