Skip to content

Commit fca6e81

Browse files
committed
Make sure to rebuild rustdoc if src/rustdoc-json-types is changed
1 parent 255aa22 commit fca6e81

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ impl Step for Rustdoc {
716716
&& target_compiler.stage > 0
717717
&& builder.rust_info().is_managed_git_subrepository()
718718
{
719-
let files_to_track = &["src/librustdoc", "src/tools/rustdoc"];
719+
let files_to_track = &["src/librustdoc", "src/tools/rustdoc", "src/rustdoc-json-types"];
720720

721721
// Check if unchanged
722722
if !builder.config.has_changes_from_upstream(files_to_track) {

0 commit comments

Comments
 (0)