We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7585269 commit 3a80067Copy full SHA for 3a80067
compiler/rustc_codegen_llvm/src/back/write.rs
@@ -721,8 +721,7 @@ pub(crate) fn link(
721
722
let mut linker = Linker::new(first.module_llvm.llmod());
723
for module in elements {
724
- let _timer =
725
- cgcx.prof.generic_activity_with_arg("LLVM_link_module", format!("{:?}", module.name));
+ let _timer = cgcx.prof.generic_activity_with_arg("LLVM_link_module", &*module.name);
726
let buffer = ModuleBuffer::new(module.module_llvm.llmod());
727
linker.add(buffer.data()).map_err(|()| {
728
let msg = format!("failed to serialize module {:?}", module.name);
0 commit comments