@@ -876,14 +876,14 @@ fn prepare_rustdoc(build_runner: &BuildRunner<'_, '_>, unit: &Unit) -> CargoResu
876876 add_allow_features ( build_runner, & mut rustdoc) ;
877877
878878 if build_runner. bcx . gctx . cli_unstable ( ) . rustdoc_depinfo {
879- // toolchain-shared-resources is required for keeping the shared styling resources
880- // invocation-specific is required for keeping the original rustdoc emission
879+ // html-static-files is required for keeping the shared styling resources
880+ // html-non-static-files is required for keeping the original rustdoc emission
881881 let mut arg = if build_runner. bcx . gctx . cli_unstable ( ) . rustdoc_mergeable_info {
882882 // toolchain resources are written at the end, at the same time as merging
883- OsString :: from ( "--emit=invocation-specific ,dep-info=" )
883+ OsString :: from ( "--emit=html-non-static-files ,dep-info=" )
884884 } else {
885885 // if not using mergeable CCI, everything is written every time
886- OsString :: from ( "--emit=toolchain-shared-resources,invocation-specific ,dep-info=" )
886+ OsString :: from ( "--emit=html-static-files,html-non-static-files ,dep-info=" )
887887 } ;
888888 arg. push ( rustdoc_dep_info_loc ( build_runner, unit) ) ;
889889 rustdoc. arg ( arg) ;
@@ -895,7 +895,7 @@ fn prepare_rustdoc(build_runner: &BuildRunner<'_, '_>, unit: &Unit) -> CargoResu
895895 rustdoc. arg ( "-Zunstable-options" ) ;
896896 } else if build_runner. bcx . gctx . cli_unstable ( ) . rustdoc_mergeable_info {
897897 // toolchain resources are written at the end, at the same time as merging
898- rustdoc. arg ( "--emit=invocation-specific " ) ;
898+ rustdoc. arg ( "--emit=html-non-static-files " ) ;
899899 rustdoc. arg ( "-Zunstable-options" ) ;
900900 }
901901
0 commit comments