mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-17 07:48:55 +00:00
19 lines
749 B
Diff
19 lines
749 B
Diff
Description: Don't check for cargo-vendor when building from (Debian's) git
|
|
Author: Matthijs van Otterdijk <matthijs@wirevirt.net>
|
|
Forwarded: not-needed
|
|
---
|
|
--- a/src/bootstrap/dist.rs
|
|
+++ b/src/bootstrap/dist.rs
|
|
@@ -904,7 +904,10 @@
|
|
}
|
|
|
|
// 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() {
|
|
// Vendor all Cargo dependencies
|
|
let mut cmd = Command::new(&builder.initial_cargo);
|
|
cmd.arg("vendor")
|