Skip to content

Commit d412ee7

Browse files
Fix tidy
1 parent f3d4c6d commit d412ee7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/bootstrap/compile.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,10 @@ impl Step for Assemble {
852852
let compiler = build_compiler;
853853
for stage in 0..min(target_compiler.stage, builder.flags.keep_stage.unwrap()) {
854854
let target_compiler = builder.compiler(stage, target_compiler.host);
855-
builder.ensure(StdLink { compiler, target_compiler, target: target_compiler.host });
856-
builder.ensure(TestLink { compiler, target_compiler, target: target_compiler.host });
857-
builder.ensure(RustcLink { compiler, target_compiler, target: target_compiler.host });
855+
let target = target_compiler.host;
856+
builder.ensure(StdLink { compiler, target_compiler, target });
857+
builder.ensure(TestLink { compiler, target_compiler, target });
858+
builder.ensure(RustcLink { compiler, target_compiler, target });
858859
}
859860
} else {
860861
builder.ensure(Rustc { compiler: build_compiler, target: target_compiler.host });

0 commit comments

Comments
 (0)