Skip to content

Commit 916a0b3

Browse files
committed
Minor cleanup
1 parent 0335dc1 commit 916a0b3

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

build_system/build_sysroot.rs

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,14 @@ pub(crate) fn build_sysroot(
102102
.install_into_sysroot(dist_dir);
103103
}
104104

105-
let mut target_compiler = {
106-
let rustc_clif = dist_dir.join(wrapper_base_name.replace("____", "rustc-clif"));
107-
let rustdoc_clif = dist_dir.join(wrapper_base_name.replace("____", "rustdoc-clif"));
108-
109-
Compiler {
110-
cargo: bootstrap_host_compiler.cargo.clone(),
111-
rustc: rustc_clif.clone(),
112-
rustdoc: rustdoc_clif.clone(),
113-
rustflags: vec![],
114-
rustdocflags: vec![],
115-
triple: target_triple,
116-
runner: vec![],
117-
}
105+
let mut target_compiler = Compiler {
106+
cargo: bootstrap_host_compiler.cargo.clone(),
107+
rustc: dist_dir.join(wrapper_base_name.replace("____", "rustc-clif")),
108+
rustdoc: dist_dir.join(wrapper_base_name.replace("____", "rustdoc-clif")),
109+
rustflags: vec![],
110+
rustdocflags: vec![],
111+
triple: target_triple,
112+
runner: vec![],
118113
};
119114
if !is_native {
120115
target_compiler.set_cross_linker_and_runner();

0 commit comments

Comments
 (0)