Skip to content

Commit dfbb946

Browse files
bootstrap: pass --deny-render-differences to rustdoc
1 parent e766f60 commit dfbb946

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/bootstrap/bin/rustdoc.rs

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ fn main() {
5757
// This "unstable-options" can be removed when `--crate-version` is stabilized
5858
cmd.arg("-Z").arg("unstable-options")
5959
.arg("--crate-version").arg(version);
60+
61+
// While we can assume that `-Z unstable-options` is set, let's also force rustdoc to panic
62+
// if pulldown rendering differences are found
63+
cmd.arg("--deny-render-differences");
6064
}
6165

6266
std::process::exit(match cmd.status() {

0 commit comments

Comments
 (0)