Bootstrap: skip rustdoc fingerprint for building docs.
This commit is contained in:
parent
c81c3d0d73
commit
1c9500a8f4
1 changed files with 3 additions and 0 deletions
|
@ -434,6 +434,7 @@ impl Step for Std {
|
||||||
cargo
|
cargo
|
||||||
.arg("-p")
|
.arg("-p")
|
||||||
.arg(package)
|
.arg(package)
|
||||||
|
.arg("-Zskip-rustdoc-fingerprint")
|
||||||
.arg("--")
|
.arg("--")
|
||||||
.arg("--markdown-css")
|
.arg("--markdown-css")
|
||||||
.arg("rust.css")
|
.arg("rust.css")
|
||||||
|
@ -564,6 +565,7 @@ impl Step for Rustc {
|
||||||
cargo.rustdocflag("-Znormalize-docs");
|
cargo.rustdocflag("-Znormalize-docs");
|
||||||
cargo.rustdocflag("--show-type-layout");
|
cargo.rustdocflag("--show-type-layout");
|
||||||
compile::rustc_cargo(builder, &mut cargo, target);
|
compile::rustc_cargo(builder, &mut cargo, target);
|
||||||
|
cargo.arg("-Zskip-rustdoc-fingerprint");
|
||||||
|
|
||||||
// Only include compiler crates, no dependencies of those, such as `libc`.
|
// Only include compiler crates, no dependencies of those, such as `libc`.
|
||||||
cargo.arg("--no-deps");
|
cargo.arg("--no-deps");
|
||||||
|
@ -655,6 +657,7 @@ impl Step for Rustdoc {
|
||||||
&[],
|
&[],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
cargo.arg("-Zskip-rustdoc-fingerprint");
|
||||||
// Only include compiler crates, no dependencies of those, such as `libc`.
|
// Only include compiler crates, no dependencies of those, such as `libc`.
|
||||||
cargo.arg("--no-deps");
|
cargo.arg("--no-deps");
|
||||||
cargo.arg("-p").arg("rustdoc");
|
cargo.arg("-p").arg("rustdoc");
|
||||||
|
|
Loading…
Add table
Reference in a new issue