We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9179d9b commit e4e1b9bCopy full SHA for e4e1b9b
src/bootstrap/src/core/build_steps/dist.rs
@@ -918,7 +918,6 @@ impl Step for Src {
918
// translation code in `imported_source_files` in `src/librustc_metadata/rmeta/decoder.rs`
919
let dst_src = tarball.image_dir().join("lib/rustlib/src/rust");
920
921
- let src_files = ["Cargo.lock"];
922
// This is the reduced set of paths which will become the rust-src component
923
// (essentially libstd and all of its path dependencies).
924
copy_src_dirs(
@@ -937,9 +936,6 @@ impl Step for Src {
937
936
],
938
&dst_src,
939
);
940
- for file in src_files.iter() {
941
- builder.copy_link(&builder.src.join(file), &dst_src.join(file));
942
- }
943
944
tarball.generate()
945
}
0 commit comments