diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:34 +0000 |
commit | 77fdce1bf4c27e4eb918ea3149a771325e81b5d4 (patch) | |
tree | 71a84af5d4b916e41fd7ffa527fc3f0146d62080 /debian/patches/d-bootstrap-disable-git.patch | |
parent | Merging upstream version 1.67.1+dfsg1. (diff) | |
download | rustc-77fdce1bf4c27e4eb918ea3149a771325e81b5d4.tar.xz rustc-77fdce1bf4c27e4eb918ea3149a771325e81b5d4.zip |
Merging debian version 1.67.1+dfsg1-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/d-bootstrap-disable-git.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/d-bootstrap-disable-git.patch b/debian/patches/d-bootstrap-disable-git.patch index ddbe186e6..3e744b599 100644 --- a/debian/patches/d-bootstrap-disable-git.patch +++ b/debian/patches/d-bootstrap-disable-git.patch @@ -12,7 +12,7 @@ Forwarded: not-needed --- a/src/bootstrap/channel.rs +++ b/src/bootstrap/channel.rs -@@ -33,6 +33,12 @@ +@@ -36,6 +36,12 @@ impl GitInfo { pub fn new(ignore_git: bool, dir: &Path) -> GitInfo { @@ -27,15 +27,15 @@ Forwarded: not-needed match read_commit_info_file(dir) { --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs -@@ -925,7 +925,10 @@ +@@ -968,7 +968,10 @@ } // If we're building from git sources, we need to vendor a complete distribution. -- if builder.rust_info.is_managed_git_subrepository() { +- if builder.rust_info().is_managed_git_subrepository() { + // + // Debian: short-circuited 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_managed_git_subrepository() { ++ if false && builder.rust_info().is_managed_git_subrepository() { // Ensure we have the submodules checked out. builder.update_submodule(Path::new("src/tools/rust-analyzer")); |