d-disable-cargo-vendor
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 23 Dec 2019 03:21:02 +0000 (03:21 +0000)
committerXimin Luo <infinity0@debian.org>
Mon, 23 Dec 2019 03:21:02 +0000 (03:21 +0000)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index d9dff77a30e6bd0fdd9c5951ffab3e5ca1bb43ac..852d535388475fd43506cb2550217e0c80ab1ec2 100644 (file)
@@ -1004,7 +1004,10 @@ impl Step for PlainSourceTarball {
         }
 
         // If we're building from git sources, we need to vendor a complete distribution.
-        if builder.rust_info.is_git() {
+        //
+        // Debian: disabling this block because the debian package is also in a git
+        //         repository, but cargo-vendor should not be installed or run.
+        if false && builder.rust_info.is_git() {
             // Vendor all Cargo dependencies
             let mut cmd = Command::new(&builder.initial_cargo);
             cmd.arg("vendor")