d-disable-cargo-vendor
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Mon, 17 Jul 2017 11:41:59 +0000 (12:41 +0100)
committerXimin Luo <infinity0@debian.org>
Mon, 17 Jul 2017 11:41:59 +0000 (12:41 +0100)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index 9119b00d6d152e5a22a1cec179b06830f18f1e1e..dcce19aa647d802b9e0c7d96c71233821b22b54d 100644 (file)
@@ -438,7 +438,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);