Skip to content

Commit f7bce26

Browse files
committed
use the bootstrapped compiler for test-float-parse test
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent d6c8169 commit f7bce26

File tree

1 file changed

+1
-3
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-3
lines changed

src/bootstrap/src/core/build_steps/test.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -3526,12 +3526,10 @@ impl Step for TestFloatParse {
35263526

35273527
fn run(self, builder: &Builder<'_>) {
35283528
let bootstrap_host = builder.config.build;
3529-
let compiler = builder.compiler(0, bootstrap_host);
3529+
let compiler = builder.compiler(builder.top_stage, bootstrap_host);
35303530
let path = self.path.to_str().unwrap();
35313531
let crate_name = self.path.components().last().unwrap().as_os_str().to_str().unwrap();
35323532

3533-
builder.ensure(compile::Std::new(compiler, self.host));
3534-
35353533
// Run any unit tests in the crate
35363534
let cargo_test = tool::prepare_tool_cargo(
35373535
builder,

0 commit comments

Comments
 (0)