d-disable-cargo-vendor
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 23 Sep 2018 17:16:53 +0000 (18:16 +0100)
committerXimin Luo <infinity0@debian.org>
Sun, 23 Sep 2018 17:16:53 +0000 (18:16 +0100)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index c6b39a52ae135ee311fb19eb720d2acd1f54dd1d..a0cbff97e6c322b0ac076a5bee18f5646ad1ba31 100644 (file)
@@ -956,7 +956,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() {
             // Get cargo-vendor installed, if it isn't already.
             let mut has_cargo_vendor = false;
             let mut cmd = Command::new(&builder.initial_cargo);