File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ fn reuse_workproduct_for_cgu(
8484 let work_product = cgu. work_product ( tcx) ;
8585 if let Some ( saved_file) = & work_product. saved_file {
8686 let obj_out =
87- tcx. output_filenames ( ( ) ) . temp_path ( OutputType :: Object , Some ( & cgu. name ( ) . as_str ( ) ) ) ;
87+ tcx. output_filenames ( ( ) ) . temp_path ( OutputType :: Object , Some ( cgu. name ( ) . as_str ( ) ) ) ;
8888 object = Some ( obj_out. clone ( ) ) ;
8989 let source_file = rustc_incremental:: in_incr_comp_dir_sess ( & tcx. sess , & saved_file) ;
9090 if let Err ( err) = rustc_fs_util:: link_or_copy ( & source_file, & obj_out) {
@@ -176,7 +176,7 @@ fn module_codegen(
176176 )
177177 } ) ;
178178
179- codegen_global_asm ( tcx, & cgu. name ( ) . as_str ( ) , & cx. global_asm ) ;
179+ codegen_global_asm ( tcx, cgu. name ( ) . as_str ( ) , & cx. global_asm ) ;
180180
181181 codegen_result
182182}
@@ -207,7 +207,7 @@ pub(crate) fn run_aot(
207207 cgus. iter ( )
208208 . map ( |cgu| {
209209 let cgu_reuse = determine_cgu_reuse ( tcx, cgu) ;
210- tcx. sess . cgu_reuse_tracker . set_actual_reuse ( & cgu. name ( ) . as_str ( ) , cgu_reuse) ;
210+ tcx. sess . cgu_reuse_tracker . set_actual_reuse ( cgu. name ( ) . as_str ( ) , cgu_reuse) ;
211211
212212 match cgu_reuse {
213213 _ if backend_config. disable_incr_cache => { }
You can’t perform that action at this time.
0 commit comments