d-disable-cargo-vendor
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Thu, 31 May 2018 16:25:17 +0000 (17:25 +0100)
committerXimin Luo <infinity0@debian.org>
Thu, 31 May 2018 16:25:17 +0000 (17:25 +0100)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index 23b7b265a94bee5690e774586b366b1152d8980e..99dae53a095054f57ee8fd8396fb58dd57ebc4db 100644 (file)
@@ -953,7 +953,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);