d-disable-cargo-vendor
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Thu, 5 Sep 2019 07:06:23 +0000 (08:06 +0100)
committerXimin Luo <infinity0@debian.org>
Thu, 5 Sep 2019 07:06:23 +0000 (08:06 +0100)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index 45bc77ec97d4794ceaa164a2f6cd734aae068108..987908eb8b4fe317c1dada99a20bf30227864191 100644 (file)
@@ -997,7 +997,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);