We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f9d23 commit 561d5acCopy full SHA for 561d5ac
src/bootstrap/doc.rs
@@ -156,7 +156,7 @@ impl Step for RustbookSrc {
156
let index = out.join("index.html");
157
let rustbook = builder.tool_exe(Tool::Rustbook);
158
let mut rustbook_cmd = builder.tool_cmd(Tool::Rustbook);
159
- if up_to_date(&src, &index) && up_to_date(&rustbook, &index) {
+ if builder.config.dry_run || up_to_date(&src, &index) && up_to_date(&rustbook, &index) {
160
return;
161
}
162
builder.info(&format!("Rustbook ({}) - {}", target, name));
0 commit comments