d-disable-cargo-vendor
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Sat, 19 May 2018 20:10:33 +0000 (21:10 +0100)
committerXimin Luo <infinity0@debian.org>
Sat, 19 May 2018 20:10:33 +0000 (21:10 +0100)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index e7aed7eb4fead3de97f477fc3339542e0a9f7d59..51648be2f97f14e6b70ac3a9b2445d87c9b8c1e2 100644 (file)
@@ -884,7 +884,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);