Skip to content

Commit d3a307e

Browse files
committed
rename setup_common_(rustc)_build_cmd
1 parent c90db3d commit d3a307e

File tree

1 file changed

+3
-3
lines changed
  • src/tools/run-make-support/src

1 file changed

+3
-3
lines changed

src/tools/run-make-support/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::process::{Command, Output};
55
mod rustdoc;
66
pub use rustdoc::rustdoc;
77

8-
fn setup_common_build_cmd() -> Command {
8+
fn setup_common_rustc_build_cmd() -> Command {
99
let rustc = env::var("RUSTC").unwrap();
1010
let mut cmd = Command::new(rustc);
1111
cmd.arg("--out-dir")
@@ -39,7 +39,7 @@ pub struct RustcInvocationBuilder {
3939

4040
impl RustcInvocationBuilder {
4141
fn new() -> Self {
42-
let cmd = setup_common_build_cmd();
42+
let cmd = setup_common_rustc_build_cmd();
4343
Self { cmd }
4444
}
4545

@@ -85,7 +85,7 @@ pub struct AuxBuildInvocationBuilder {
8585

8686
impl AuxBuildInvocationBuilder {
8787
fn new() -> Self {
88-
let mut cmd = setup_common_build_cmd();
88+
let mut cmd = setup_common_rustc_build_cmd();
8989
cmd.arg("--crate-type=lib");
9090
Self { cmd }
9191
}

0 commit comments

Comments
 (0)