d-disable-cargo-vendor
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Mon, 18 Dec 2017 18:46:25 +0000 (18:46 +0000)
committerXimin Luo <infinity0@debian.org>
Mon, 18 Dec 2017 18:46:25 +0000 (18:46 +0000)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index 3d4aa0413db6188278cbede24b6c8eb444229550..c2d4611fe00cae062882649b0da0762c7b071b9d 100644 (file)
@@ -851,7 +851,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);