]> git.proxmox.com Git - rustc.git/commitdiff
remove handling of cargo Cargo.lock
authorFabian Gruenbichler <git@fabian.gruenbichler.email>
Thu, 28 Dec 2023 13:12:35 +0000 (14:12 +0100)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 2 May 2024 15:57:43 +0000 (17:57 +0200)
it's part of the main workspace, so has no separate lock file..

Signed-off-by: Fabian Gruenbichler <git@fabian.gruenbichler.email>
debian/prune-unused-deps

index ae733854f6d8b2a818fccf9cb03a69002cb7e236..5807b4a4c4777bff9654bb8fc2dee64949098a73 100755 (executable)
@@ -17,7 +17,6 @@ done
 test -f Cargo.lock.orig || cp Cargo.lock Cargo.lock.orig
 test -f src/bootstrap/Cargo.lock.orig || cp src/bootstrap/Cargo.lock src/bootstrap/Cargo.lock.orig
 test -f src/tools/rust-analyzer/Cargo.lock.orig || cp src/tools/rust-analyzer/Cargo.lock src/tools/rust-analyzer/Cargo.lock.orig
-test -f src/tools/cargo/Cargo.lock.orig || cp src/tools/cargo/Cargo.lock src/tools/cargo/Cargo.lock.orig
 rm -f Cargo.lock src/bootstrap/Cargo.lock src/tools/rust-analyzer/Cargo.lock src/tools/cargo/Cargo.lock
 
 find vendor -name .cargo-checksum.json -execdir "$scriptdir/debian/prune-checksums" "{}" +
@@ -31,14 +30,10 @@ cargo update --offline
 # re-generate src/tools/rust-analyzer/Cargo.lock after patching
 ( cd src/tools/rust-analyzer && cargo update --offline )
 
-# re-generate src/tools/cargo/Cargo.lock after patching
-( cd src/tools/cargo && cargo update --offline )
-
 needed_crates() {
        cat Cargo.lock \
            src/bootstrap/Cargo.lock \
            src/tools/rust-analyzer/Cargo.lock \
-           src/tools/cargo/Cargo.lock \
          | sed -z -e 's/\nname = /name = /g' -e 's/\nversion = /version = /g' \
          | sed -ne 's/\[\[package\]\]name = "\(.*\)"version = "\(.*\)"/\1 \2/gp'
 }