diff options
| author | QuietMisdreavus <grey@quietmisdreavus.net> | 2017-12-20 10:20:23 -0600 |
|---|---|---|
| committer | QuietMisdreavus <grey@quietmisdreavus.net> | 2017-12-27 10:09:23 -0600 |
| commit | dfbb94664915354eb512c66833ece422bd2b9214 (patch) | |
| tree | ce9b643144b77028f98d85e7235ea319a7381c50 /src | |
| parent | e766f60c44a3d83bd10143c32678d00e62c99a43 (diff) | |
| download | rust-dfbb94664915354eb512c66833ece422bd2b9214.tar.gz rust-dfbb94664915354eb512c66833ece422bd2b9214.zip | |
bootstrap: pass --deny-render-differences to rustdoc
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/bin/rustdoc.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/bin/rustdoc.rs b/src/bootstrap/bin/rustdoc.rs index 4e975adc972..62037590853 100644 --- a/src/bootstrap/bin/rustdoc.rs +++ b/src/bootstrap/bin/rustdoc.rs @@ -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() { |
