diff options
Diffstat (limited to 'debian/patches/d-bootstrap-old-cargo-compat.patch')
-rw-r--r-- | debian/patches/d-bootstrap-old-cargo-compat.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/patches/d-bootstrap-old-cargo-compat.patch b/debian/patches/d-bootstrap-old-cargo-compat.patch deleted file mode 100644 index 0dacb4521..000000000 --- a/debian/patches/d-bootstrap-old-cargo-compat.patch +++ /dev/null @@ -1,45 +0,0 @@ -From: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> -Date: Thu, 14 Jul 2022 13:17:39 +0200 -Subject: Backwards-compat for cargo 0.47 - - The flag being removed here was added in - https://github.com/rust-lang/cargo/pull/9404 released in cargo 0.54 - - This works around a feature introduced in this PR - https://github.com/rust-lang/cargo/pull/8640 released in cargo 0.53 - - Therefore it is not needed for Debian's current cargo 0.47. - - We can drop this patch when updating to cargo 0.54 and later. ---- - src/bootstrap/doc.rs | 3 --- - 1 file changed, 3 deletions(-) - -Index: rust/src/bootstrap/doc.rs -=================================================================== ---- rust.orig/src/bootstrap/doc.rs -+++ rust/src/bootstrap/doc.rs -@@ -613,7 +613,6 @@ fn doc_std( - .arg(&*target_dir.to_string_lossy()) - .arg("-p") - .arg(package) -- .arg("-Zskip-rustdoc-fingerprint") - .arg("--") - .arg("-Z") - .arg("unstable-options") -@@ -713,7 +712,6 @@ impl Step for Rustc { - cargo.rustdocflag("--generate-link-to-definition"); - compile::rustc_cargo(builder, &mut cargo, target, compiler.stage); - cargo.arg("-Zunstable-options"); -- cargo.arg("-Zskip-rustdoc-fingerprint"); - - // Only include compiler crates, no dependencies of those, such as `libc`. - // Do link to dependencies on `docs.rs` however using `rustdoc-map`. -@@ -846,7 +844,6 @@ macro_rules! tool_doc { - &[], - ); - -- cargo.arg("-Zskip-rustdoc-fingerprint"); - // Only include compiler crates, no dependencies of those, such as `libc`. - cargo.arg("--no-deps"); - $( |