d-disable-cargo-vendor
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 16 Dec 2018 22:34:44 +0000 (22:34 +0000)
committerXimin Luo <infinity0@debian.org>
Sun, 16 Dec 2018 22:34:44 +0000 (22:34 +0000)
Gbp-Pq: Name d-disable-cargo-vendor.patch

src/bootstrap/dist.rs

index fea6302d0a119e6a5f0916dfefa4628bc040eebe..d4cd46f369549a9046b65961da59bf4598e00751 100644 (file)
@@ -971,7 +971,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);