Add missing -Z unstable-options flag
This commit is contained in:
parent
c57de34e8f
commit
da5d03d09e
@ -313,6 +313,9 @@ impl Step for Standalone {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let mut cmd = builder.rustdoc_cmd(compiler);
|
let mut cmd = builder.rustdoc_cmd(compiler);
|
||||||
|
// Needed for --index-page flag
|
||||||
|
cmd.arg("-Z").arg("unstable-options");
|
||||||
|
|
||||||
cmd.arg("--html-after-content")
|
cmd.arg("--html-after-content")
|
||||||
.arg(&footer)
|
.arg(&footer)
|
||||||
.arg("--html-before-content")
|
.arg("--html-before-content")
|
||||||
@ -395,7 +398,7 @@ impl Step for Std {
|
|||||||
|
|
||||||
// Keep a whitelist so we do not build internal stdlib crates, these will be
|
// Keep a whitelist so we do not build internal stdlib crates, these will be
|
||||||
// build by the rustc step later if enabled.
|
// build by the rustc step later if enabled.
|
||||||
cargo.arg("-Z").arg("unstable-options").arg("-p").arg(package);
|
cargo.arg("-p").arg(package);
|
||||||
// Create all crate output directories first to make sure rustdoc uses
|
// Create all crate output directories first to make sure rustdoc uses
|
||||||
// relative links.
|
// relative links.
|
||||||
// FIXME: Cargo should probably do this itself.
|
// FIXME: Cargo should probably do this itself.
|
||||||
@ -406,6 +409,8 @@ impl Step for Std {
|
|||||||
.arg("rust.css")
|
.arg("rust.css")
|
||||||
.arg("--markdown-no-toc")
|
.arg("--markdown-no-toc")
|
||||||
.arg("--generate-redirect-pages")
|
.arg("--generate-redirect-pages")
|
||||||
|
.arg("-Z")
|
||||||
|
.arg("unstable-options")
|
||||||
.arg("--resource-suffix")
|
.arg("--resource-suffix")
|
||||||
.arg(crate::channel::CFG_RELEASE_NUM)
|
.arg(crate::channel::CFG_RELEASE_NUM)
|
||||||
.arg("--index-page")
|
.arg("--index-page")
|
||||||
|
Loading…
Reference in New Issue
Block a user