mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user