From 8d16d8697f6b970fadb5ce947d99ccb11f4349e0 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Thu, 1 May 2025 18:52:12 +0000 Subject: [PATCH] builtins-test: Remove `no_mangle` from `eh_personality` Rustc now mangles these symbols on its own, so `no_mangle` is rejected as an error. --- builtins-test-intrinsics/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/builtins-test-intrinsics/src/main.rs b/builtins-test-intrinsics/src/main.rs index 18f943eff..1fa7b0091 100644 --- a/builtins-test-intrinsics/src/main.rs +++ b/builtins-test-intrinsics/src/main.rs @@ -682,7 +682,6 @@ pub fn _Unwind_Resume() {} #[cfg(not(any(windows, target_os = "cygwin")))] #[lang = "eh_personality"] -#[unsafe(no_mangle)] pub extern "C" fn eh_personality() {} #[cfg(any(all(windows, target_env = "gnu"), target_os = "cygwin"))]