d-disable-cargo-vendor
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Fri, 2 Nov 2018 08:42:36 +0000 (08:42 +0000)
committerXimin Luo <infinity0@debian.org>
Fri, 2 Nov 2018 08:42:36 +0000 (08:42 +0000)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index 2d94704fda7d600f847f918b6bdc871b0f2d996d..c1324eb19b57fae7b8ad407ba5242ebf8547e3ab 100644 (file)
@@ -964,7 +964,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);