d-disable-cargo-vendor
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 28 Jan 2019 06:02:48 +0000 (06:02 +0000)
committerXimin Luo <infinity0@debian.org>
Mon, 28 Jan 2019 06:02:48 +0000 (06:02 +0000)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index cd8d5642b25707a261b1dad4f277a5db4414bedf..8c8ceeac387e57130e76cd185398c23040896884 100644 (file)
@@ -970,7 +970,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);