Skip to content

Commit 189827b

Browse files
committed
rustbuild: Fix a copy/paste error
Fixes `--step librustc`
1 parent 5266406 commit 189827b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/build/step.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ fn add_steps<'a>(build: &'a Build,
117117
let compiler = host.compiler(stage);
118118
match &step[..] {
119119
"libstd" => targets.push(target.libstd(stage, compiler)),
120-
"librustc" => targets.push(target.libstd(stage, compiler)),
120+
"librustc" => targets.push(target.librustc(stage, compiler)),
121121
"rustc" => targets.push(host.rustc(stage)),
122122
"llvm" => targets.push(target.llvm(())),
123123
"compiler-rt" => targets.push(target.compiler_rt(())),

0 commit comments

Comments
 (0)