Skip to content

Commit

Permalink
Auto merge of rust-lang#52828 - Mark-Simulacrum:clear-rustdoc-check, …
Browse files Browse the repository at this point in the history
…r=alexcrichton

Clear out rustdoc check builds if dependencies change

r? @alexcrichton
  • Loading branch information
bors committed Jul 30, 2018
2 parents 866a713 + d68176e commit b12235d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ impl Step for Rustdoc {
let compiler = builder.compiler(0, builder.config.build);
let target = self.target;

let stage_out = builder.stage_out(compiler, Mode::ToolRustc);
builder.clear_if_dirty(&stage_out, &libstd_stamp(builder, compiler, target));
builder.clear_if_dirty(&stage_out, &libtest_stamp(builder, compiler, target));
builder.clear_if_dirty(&stage_out, &librustc_stamp(builder, compiler, target));

let mut cargo = prepare_tool_cargo(builder,
compiler,
Mode::ToolRustc,
Expand Down

0 comments on commit b12235d

Please sign in to comment.