Skip to content

Commit 9a542c7

Browse files
committed
prepare: use first toolchain to run the prepare tasks
1 parent 30c2716 commit 9a542c7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/runner/tasks.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use experiments::Experiment;
55
use results::{TestResult, WriteResults};
66
use runner::test;
77
use std::fmt;
8-
use toolchain::{Toolchain, MAIN_TOOLCHAIN};
8+
use toolchain::Toolchain;
99
use utils;
1010

1111
pub(super) enum TaskStep {
@@ -131,9 +131,9 @@ impl Task {
131131
}
132132

133133
::runner::prepare::frob_toml(ex, &self.krate)?;
134-
::runner::prepare::validate_manifest(ex, &self.krate, &MAIN_TOOLCHAIN)?;
135-
::runner::prepare::capture_lockfile(config, ex, &self.krate, &MAIN_TOOLCHAIN)?;
136-
::runner::prepare::fetch_crate_deps(config, ex, &self.krate, &MAIN_TOOLCHAIN)?;
134+
::runner::prepare::validate_manifest(ex, &self.krate, &ex.toolchains[0])?;
135+
::runner::prepare::capture_lockfile(config, ex, &self.krate, &ex.toolchains[0])?;
136+
::runner::prepare::fetch_crate_deps(config, ex, &self.krate, &ex.toolchains[0])?;
137137

138138
Ok(())
139139
}

0 commit comments

Comments
 (0)