We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95c580d + 9cb6d12 commit 57d85faCopy full SHA for 57d85fa
src/bootstrap/src/core/build_steps/test.rs
@@ -3529,11 +3529,13 @@ impl Step for TestFloatParse {
3529
3530
fn run(self, builder: &Builder<'_>) {
3531
let bootstrap_host = builder.config.build;
3532
- let compiler = builder.compiler(0, bootstrap_host);
+ let compiler = builder.compiler(builder.top_stage, bootstrap_host);
3533
let path = self.path.to_str().unwrap();
3534
let crate_name = self.path.components().last().unwrap().as_os_str().to_str().unwrap();
3535
3536
- builder.ensure(compile::Std::new(compiler, self.host));
+ if !builder.download_rustc() {
3537
+ builder.ensure(compile::Std::new(compiler, self.host));
3538
+ }
3539
3540
// Run any unit tests in the crate
3541
let cargo_test = tool::prepare_tool_cargo(
0 commit comments