File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pub(crate) unsafe fn codegen(cgcx: &CodegenContext<GccCodegenBackend>, _diag_han
3232 if config. emit_asm {
3333 let _timer = cgcx
3434 . prof
35- . generic_activity_with_arg ( "LLVM_module_codegen_emit_asm" , & module. name [ .. ] ) ;
35+ . generic_activity_with_arg ( "LLVM_module_codegen_emit_asm" , & * module. name ) ;
3636 let path = cgcx. output_filenames . temp_path ( OutputType :: Assembly , module_name) ;
3737 context. compile_to_file ( OutputKind :: Assembler , path. to_str ( ) . expect ( "path to str" ) ) ;
3838 }
@@ -41,7 +41,7 @@ pub(crate) unsafe fn codegen(cgcx: &CodegenContext<GccCodegenBackend>, _diag_han
4141 EmitObj :: ObjectCode ( _) => {
4242 let _timer = cgcx
4343 . prof
44- . generic_activity_with_arg ( "LLVM_module_codegen_emit_obj" , & module. name [ .. ] ) ;
44+ . generic_activity_with_arg ( "LLVM_module_codegen_emit_obj" , & * module. name ) ;
4545 match & * module. name {
4646 "std_example.7rcbfp3g-cgu.15" => {
4747 println ! ( "Dumping reproducer {}" , module. name) ;
You can’t perform that action at this time.
0 commit comments