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