d-disable-cargo-vendor
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)
committerMoritz Mühlenhoff <jmm@debian.org>
Sun, 8 Jul 2018 19:39:35 +0000 (20:39 +0100)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index f011069a700ee9ae2fa927ddcdc3e53fd240e272..e3a87c85bba662ab0c5e8e8d6662fcc54df251f0 100644 (file)
@@ -872,7 +872,10 @@ impl Step for PlainSourceTarball {
         }
 
         // If we're building from git sources, we need to vendor a complete distribution.
-        if build.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 && build.rust_info.is_git() {
             // Get cargo-vendor installed, if it isn't already.
             let mut has_cargo_vendor = false;
             let mut cmd = Command::new(&build.initial_cargo);