Skip to content

Commit 8100d27

Browse files
committed
Remove unnecessary use mb; in metebuild.
Check this in PR #117772 in rustc.
1 parent 9d23d30 commit 8100d27

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/cargo/core/compiler/custom_build.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1077,9 +1077,6 @@ fn prepare_metabuild(cx: &Context<'_, '_>, unit: &Unit, deps: &[String]) -> Carg
10771077
.map(|d| d.unit.target.crate_name())
10781078
})
10791079
.collect();
1080-
for dep in &meta_deps {
1081-
output.push(format!("use {};\n", dep));
1082-
}
10831080
output.push("fn main() {\n".to_string());
10841081
for dep in &meta_deps {
10851082
output.push(format!(" {}::metabuild();\n", dep));

0 commit comments

Comments
 (0)