diff options
| author | bors <bors@rust-lang.org> | 2023-06-22 02:11:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-22 02:11:08 +0000 |
| commit | fba636a38754d5e0809f15e535eb399b59de463e (patch) | |
| tree | 41d1f04f5e2154109e4be5a9b727d7fff01ea46f /compiler/rustc_codegen_gcc/src/lib.rs | |
| parent | f272fc3a86c23682ff1e52c0893d6df2454bb0cd (diff) | |
| parent | f78096f57e5ac15b6b4fdcb72e0aadc5e9607c59 (diff) | |
| download | rust-fba636a38754d5e0809f15e535eb399b59de463e.tar.gz rust-fba636a38754d5e0809f15e535eb399b59de463e.zip | |
Auto merge of #112814 - antoyo:sync-cg_gcc-2023-06-19, r=bjorn3
Sync rustc_codegen_gcc 2023/06/19 Hi. This is a sync of the rustc_codegen_gcc subtree. Thanks.
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 {}); } |
