message: Wrap linker invocation in time()
diff: @@ -225,6 +225,8 @@ fn join_codegen_and_link(
  .downcast::<CodegenResults>()
  .expect("Expected CraneliftCodegenBackend's CodegenResult, found Box<Any>");
  + sess.profiler(|p| p.start_activity("link_crate"));
  + rustc::util::common::time(sess, "linking", || {
  let target_cpu = target_triple(sess).to_string();
  link_binary::<crate::archive::ArArchiveBuilder<'_>>(
  sess,
  @@ -233,6 +235,8 @@ fn join_codegen_and_link(
  &codegen_results.crate_name.as_str(),
  &target_cpu,
  );
  + });
  + sess.profiler(|p| p.end_activity("link_crate"));
  Ok(())
  }
  