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.
Gbp-Pq: Name d-bootstrap-old-cargo-compat.patch
cargo
.arg("-p")
.arg(package)
- .arg("-Zskip-rustdoc-fingerprint")
.arg("--")
.arg("--markdown-css")
.arg("rust.css")
cargo.rustdocflag("-Znormalize-docs");
cargo.rustdocflag("--show-type-layout");
compile::rustc_cargo(builder, &mut cargo, target);
- cargo.arg("-Zskip-rustdoc-fingerprint");
// Only include compiler crates, no dependencies of those, such as `libc`.
cargo.arg("--no-deps");
&[],
);
- cargo.arg("-Zskip-rustdoc-fingerprint");
// Only include compiler crates, no dependencies of those, such as `libc`.
cargo.arg("--no-deps");
$(