]> git.proxmox.com Git - rustc.git/blob - debian/patches/d-disable-cargo-vendor.patch
rebase of the patches
[rustc.git] / debian / patches / d-disable-cargo-vendor.patch
1 Description: Don't check for cargo-vendor when building from (Debian's) git
2 Author: Matthijs van Otterdijk <matthijs@wirevirt.net>
3 Forwarded: not-needed
4 ---
5 Index: rustc.git/src/bootstrap/dist.rs
6 ===================================================================
7 --- rustc.git.orig/src/bootstrap/dist.rs
8 +++ rustc.git/src/bootstrap/dist.rs
9 @@ -1112,7 +1112,10 @@ impl Step for PlainSourceTarball {
10 }
11
12 // If we're building from git sources, we need to vendor a complete distribution.
13 - if builder.rust_info.is_git() {
14 + //
15 + // Debian: disabling this block because the debian package is also in a git
16 + // repository, but cargo-vendor should not be installed or run.
17 + if false && builder.rust_info.is_git() {
18 // Vendor all Cargo dependencies
19 let mut cmd = Command::new(&builder.initial_cargo);
20 cmd.arg("vendor")