Merge commit '1bbee3e217
' into sync-cg_gcc-2023-06-19
This commit is contained in:
commit
4d96893d85
23 changed files with 244 additions and 264 deletions
|
@ -111,6 +111,8 @@ impl CodegenBackend for GccCodegenBackend {
|
|||
}
|
||||
|
||||
fn init(&self, sess: &Session) {
|
||||
#[cfg(feature="master")]
|
||||
gccjit::set_global_personality_function_name(b"rust_eh_personality\0");
|
||||
if sess.lto() != Lto::No {
|
||||
sess.emit_warning(LTONotSupported {});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue