about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-08-24 23:45:47 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-09-02 14:13:36 +0200
commita80ab3a2f85240ec2f9bda00f7cae1abc50865ef (patch)
treecfa72dad540f95cc8da30de071c4e02ca65b38de /src/bootstrap
parent478464570e60523adc6d303577d1782229ca1f93 (diff)
downloadrust-a80ab3a2f85240ec2f9bda00f7cae1abc50865ef.tar.gz
rust-a80ab3a2f85240ec2f9bda00f7cae1abc50865ef.zip
Generate version file if it doesn't exist
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/doc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs
index 6805474aa04..7983c973cf1 100644
--- a/src/bootstrap/doc.rs
+++ b/src/bootstrap/doc.rs
@@ -375,7 +375,7 @@ impl Step for Standalone {
                up_to_date(&footer, &html) &&
                up_to_date(&favicon, &html) &&
                up_to_date(&full_toc, &html) &&
-               up_to_date(&version_info, &html) &&
+               (builder.config.dry_run || up_to_date(&version_info, &html)) &&
                (builder.config.dry_run || up_to_date(&rustdoc, &html)) {
                 continue
             }