diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-05 14:43:17 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-08-05 14:43:17 +0000 |
| commit | e4e1b9b805252c3c6f6053b595e26e3414cd54d4 (patch) | |
| tree | 1d47e086f8ef9101fd5328aaac24cd1855557f6b | |
| parent | 9179d9b334e3f5e8772e1a563308dc95a1cde960 (diff) | |
| download | rust-e4e1b9b805252c3c6f6053b595e26e3414cd54d4.tar.gz rust-e4e1b9b805252c3c6f6053b595e26e3414cd54d4.zip | |
Remove the root Cargo.lock from the rust-src component
The Cargo.lock in library/ should be used instead. Including the Cargo.lock for the root workspace is both unnecessary and confusing.
| -rw-r--r-- | src/bootstrap/src/core/build_steps/dist.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs index c14709ffb63..43306eab1b1 100644 --- a/src/bootstrap/src/core/build_steps/dist.rs +++ b/src/bootstrap/src/core/build_steps/dist.rs @@ -918,7 +918,6 @@ impl Step for Src { // translation code in `imported_source_files` in `src/librustc_metadata/rmeta/decoder.rs` let dst_src = tarball.image_dir().join("lib/rustlib/src/rust"); - let src_files = ["Cargo.lock"]; // This is the reduced set of paths which will become the rust-src component // (essentially libstd and all of its path dependencies). copy_src_dirs( @@ -937,9 +936,6 @@ impl Step for Src { ], &dst_src, ); - for file in src_files.iter() { - builder.copy_link(&builder.src.join(file), &dst_src.join(file)); - } tarball.generate() } |
