about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-07-14 17:59:03 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2017-07-20 11:24:36 -0600
commitf19728f4c7ff24dd3c13bf49eff164649c26495b (patch)
tree1f16c073bf76d305a287de43cace8ea226e6316e
parent17f4b8f0e1483d50349e1f034b4366531584c6e0 (diff)
downloadrust-f19728f4c7ff24dd3c13bf49eff164649c26495b.tar.gz
rust-f19728f4c7ff24dd3c13bf49eff164649c26495b.zip
Fix tidy
-rw-r--r--src/bootstrap/compile.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs
index 722bbda13a4..eccecc983f1 100644
--- a/src/bootstrap/compile.rs
+++ b/src/bootstrap/compile.rs
@@ -852,9 +852,10 @@ impl Step for Assemble {
             let compiler = build_compiler;
             for stage in 0..min(target_compiler.stage, builder.flags.keep_stage.unwrap()) {
                 let target_compiler = builder.compiler(stage, target_compiler.host);
-                builder.ensure(StdLink { compiler, target_compiler, target: target_compiler.host });
-                builder.ensure(TestLink { compiler, target_compiler, target: target_compiler.host });
-                builder.ensure(RustcLink { compiler, target_compiler, target: target_compiler.host });
+                let target = target_compiler.host;
+                builder.ensure(StdLink { compiler, target_compiler, target });
+                builder.ensure(TestLink { compiler, target_compiler, target });
+                builder.ensure(RustcLink { compiler, target_compiler, target });
             }
         } else {
             builder.ensure(Rustc { compiler: build_compiler, target: target_compiler.host });