d-disable-cargo-vendor
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Tue, 25 Jul 2017 21:19:47 +0000 (22:19 +0100)
committerXimin Luo <infinity0@debian.org>
Tue, 25 Jul 2017 21:19:47 +0000 (22:19 +0100)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index 4328c4e3f1d4c58126c11d62b428557f8b2845be..a39f5cb16420337a8f15b360523632e0aa86d65b 100644 (file)
@@ -434,7 +434,10 @@ pub fn rust_src(build: &Build) {
     }
 
     // If we're building from git sources, we need to vendor a complete distribution.
-    if build.src_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.src_is_git {
         // Get cargo-vendor installed, if it isn't already.
         let mut has_cargo_vendor = false;
         let mut cmd = Command::new(&build.cargo);