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:
parent
fc641f21c2
commit
e1065239fe
1 changed files with 1 additions and 0 deletions
|
@ -653,6 +653,7 @@ fn link_dwarf_object<'a>(
|
||||||
sess.struct_err("linking dwarf objects with thorin failed")
|
sess.struct_err("linking dwarf objects with thorin failed")
|
||||||
.note(&format!("{:?}", e))
|
.note(&format!("{:?}", e))
|
||||||
.emit();
|
.emit();
|
||||||
|
sess.abort_if_errors();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue