diff options
| author | O01eg <o01eg@yandex.ru> | 2017-12-26 00:00:09 +0300 |
|---|---|---|
| committer | O01eg <o01eg@yandex.ru> | 2018-01-12 10:05:02 +0300 |
| commit | 83e76d6f29119cf997840fb8d38b4941ba68b748 (patch) | |
| tree | 860317e9c1a551b86e8d87eb667e0031d43ec361 /src/bootstrap | |
| parent | f05282f03601ea0d7cd0a9bc5b0ee46de6600de0 (diff) | |
Remove unused argument `rustc_cargo`.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/check.rs | 2 | ||||
| -rw-r--r-- | src/bootstrap/compile.rs | 3 | ||||
| -rw-r--r-- | src/bootstrap/doc.rs | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index cc9be3cec34..ed110762cb3 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -1166,7 +1166,7 @@ impl Step for Crate { } Mode::Librustc => { builder.ensure(compile::Rustc { compiler, target }); - compile::rustc_cargo(build, &compiler, target, &mut cargo); + compile::rustc_cargo(build, target, &mut cargo); ("librustc", "rustc-main") } _ => panic!("can only test libraries"), diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index 1db39361aef..91a4f7e23ba 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -485,7 +485,7 @@ impl Step for Rustc { build.clear_if_dirty(&stage_out, &libtest_stamp(build, compiler, target)); let mut cargo = builder.cargo(compiler, Mode::Librustc, target, "build"); - rustc_cargo(build, &compiler, target, &mut cargo); + rustc_cargo(build, target, &mut cargo); run_cargo(build, &mut cargo, &librustc_stamp(build, compiler, target)); @@ -500,7 +500,6 @@ impl Step for Rustc { /// Same as `std_cargo`, but for libtest pub fn rustc_cargo(build: &Build, - _compiler: &Compiler, target: Interned<String>, cargo: &mut Command) { cargo.arg("--features").arg(build.rustc_features()) diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index 832da24c994..178d60dd7df 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -616,7 +616,7 @@ impl Step for Rustc { t!(symlink_dir_force(&my_out, &out_dir)); let mut cargo = builder.cargo(compiler, Mode::Librustc, target, "doc"); - compile::rustc_cargo(build, &compiler, target, &mut cargo); + compile::rustc_cargo(build, target, &mut cargo); if build.config.compiler_docs { // src/rustc/Cargo.toml contains a bin crate called rustc which |
