diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2023-06-19 18:51:02 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2023-06-19 18:51:02 -0400 |
| commit | 4d96893d853a261e5d59c860108c3ddd3872c544 (patch) | |
| tree | 5d2c37aea2f88c37d1b8b926456703652719fcda /compiler/rustc_codegen_gcc/src/lib.rs | |
| parent | 405130538938e2d63a761b7d8d6b27d26e634c33 (diff) | |
| parent | 1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6 (diff) | |
| download | rust-4d96893d853a261e5d59c860108c3ddd3872c544.tar.gz rust-4d96893d853a261e5d59c860108c3ddd3872c544.zip | |
Merge commit '1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6' into sync-cg_gcc-2023-06-19
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/lib.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs index ea013c4428c..2a6b642782d 100644 --- a/compiler/rustc_codegen_gcc/src/lib.rs +++ b/compiler/rustc_codegen_gcc/src/lib.rs @@ -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 {}); } |
