message: Add sess.abort_if_errors() to link
diff: @@ -234,6 +234,8 @@ fn link(
  ) -> Result<(), ErrorReported> {
  use rustc_codegen_ssa::back::link::link_binary;
  + sess.abort_if_errors();
  +
  let codegen_results = *res
  .downcast::<CodegenResults>()
  .expect("Expected CraneliftCodegenBackend's CodegenResult, found Box<Any>");
  