about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-02-24 17:13:23 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-02-28 10:50:13 -0800
commit189827bd960fbb6e2e4dad5114ee414af35bb84c (patch)
tree1e61cec0f7d49e0c92d3701e43ea4c2940d91365 /src/bootstrap
parent526640668d1d7469e0c767452bb5ac60c3fa0043 (diff)
downloadrust-189827bd960fbb6e2e4dad5114ee414af35bb84c.tar.gz
rust-189827bd960fbb6e2e4dad5114ee414af35bb84c.zip
rustbuild: Fix a copy/paste error
Fixes `--step librustc`
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/build/step.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/build/step.rs b/src/bootstrap/build/step.rs
index 6c0c55fddee..d97bc064c98 100644
--- a/src/bootstrap/build/step.rs
+++ b/src/bootstrap/build/step.rs
@@ -117,7 +117,7 @@ fn add_steps<'a>(build: &'a Build,
         let compiler = host.compiler(stage);
         match &step[..] {
             "libstd" => targets.push(target.libstd(stage, compiler)),
-            "librustc" => targets.push(target.libstd(stage, compiler)),
+            "librustc" => targets.push(target.librustc(stage, compiler)),
             "rustc" => targets.push(host.rustc(stage)),
             "llvm" => targets.push(target.llvm(())),
             "compiler-rt" => targets.push(target.compiler_rt(())),