mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-12 07:43:31 +00:00
bootstrap: pass --deny-render-differences to rustdoc
This commit is contained in:
parent
e766f60c44
commit
dfbb946649
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user