1 Description: Don't check for cargo-vendor when building from (Debian's) git
2 Author: Matthijs van Otterdijk <matthijs@wirevirt.net>
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 {
12 // If we're building from git sources, we need to vendor a complete distribution.
13 - if builder.rust_info.is_git() {
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);