Skip to content

Commit e106523

Browse files
committed
ssa: abort if dwarf packaging fails
This should have been here from the start... oops. When `thorin` fails to package a DWARF package, that should fail compilation.
1 parent fc641f2 commit e106523

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

+1
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ fn link_dwarf_object<'a>(
653653
sess.struct_err("linking dwarf objects with thorin failed")
654654
.note(&format!("{:?}", e))
655655
.emit();
656+
sess.abort_if_errors();
656657
}
657658
}
658659
}

0 commit comments

Comments
 (0)