bootstrap: pass --deny-render-differences to rustdoc

This commit is contained in:
QuietMisdreavus 2017-12-20 10:20:23 -06:00
parent e766f60c44
commit dfbb946649

View File

@ -57,6 +57,10 @@ fn main() {
// This "unstable-options" can be removed when `--crate-version` is stabilized
cmd.arg("-Z").arg("unstable-options")
.arg("--crate-version").arg(version);
// While we can assume that `-Z unstable-options` is set, let's also force rustdoc to panic
// if pulldown rendering differences are found
cmd.arg("--deny-render-differences");
}
std::process::exit(match cmd.status() {