File tree 1 file changed +3
-3
lines changed
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(
84
84
let work_product = cgu. work_product ( tcx) ;
85
85
if let Some ( saved_file) = & work_product. saved_file {
86
86
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 ( ) ) ) ;
88
88
object = Some ( obj_out. clone ( ) ) ;
89
89
let source_file = rustc_incremental:: in_incr_comp_dir_sess ( & tcx. sess , & saved_file) ;
90
90
if let Err ( err) = rustc_fs_util:: link_or_copy ( & source_file, & obj_out) {
@@ -176,7 +176,7 @@ fn module_codegen(
176
176
)
177
177
} ) ;
178
178
179
- codegen_global_asm ( tcx, & cgu. name ( ) . as_str ( ) , & cx. global_asm ) ;
179
+ codegen_global_asm ( tcx, cgu. name ( ) . as_str ( ) , & cx. global_asm ) ;
180
180
181
181
codegen_result
182
182
}
@@ -207,7 +207,7 @@ pub(crate) fn run_aot(
207
207
cgus. iter ( )
208
208
. map ( |cgu| {
209
209
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) ;
211
211
212
212
match cgu_reuse {
213
213
_ if backend_config. disable_incr_cache => { }
You can’t perform that action at this time.
0 commit comments