1
Fork 0

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.
This commit is contained in:
David Wood 2022-07-06 10:56:08 +01:00
parent fc641f21c2
commit e1065239fe

View file

@ -653,6 +653,7 @@ fn link_dwarf_object<'a>(
sess.struct_err("linking dwarf objects with thorin failed")
.note(&format!("{:?}", e))
.emit();
sess.abort_if_errors();
}
}
}